Conditional Statement... wtf?
Ok so I'm stumped. I have a simple conditional statement that goes like this:
if (delayExceeded == true) and (moreAuctions == true) and (PageScannned == false) then
print("this statement is true")
end
Now, all my variables are assigned appropriate values, so the console should print "this statement is true". At first, I thought this was just WoWLua incompatibility with the new patch, but it doesn't work even if I enter the values directly into the console.
That is, if I do something in WoW like
/script print(delayExceeded == true)
then I get a return of true. The same is the case for the other three variables.
But if I do
/script print((delayExceeded == true) and (moreAuctions == true) and (PageScannned == false))
then I get false.
Does anyone have any clue what's going on here?
|