Basically I think the issue is that you need a space between the not and the brackets. So for example, this works:
bool1 = 0
bool2 = 1
bool3 = 1
if not (bool1 and bool2 and bool3)
print "Working"
else
print "Not Working"
endif
wait key
end
and this doesn't:
bool1 = 0
bool2 = 1
bool3 = 1
if not(bool1 and bool2 and bool3)
print "Working"
else
print "Not Working"
endif
wait key
end
I don't know for sure but I think the issue is that if you put the bracket next to the not, it looks to the compiler like an array and thus is reports that not is not a variable in the program. Hope that helps.