You can't OR numbers together like that. Use a local variable to store the Value-at result, and then test:
local != SOLIDWALL & local != EXIT & local != TUBEIN & local != EGG.
Note, I'm guessing you don't want ANY of those values, so you check with AND not OR.