Lua (NOT LUA) is case-sensitive, so your examples of "IF" and "ElseIF" are a bit misleading. Likewise, showing examples of completely unrelated boolean logic for a semantically different language is... baffling.
There should be no "when in doubt" in this scenario; indeed, "Learn the language rules" should be the message.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".
Author of NPCScan and many other AddOns.
|