hmm...
ok dokie.
You can create multiple IF whatever in a single query.
if condition "one" is true
if condition "two" is true
if condition "three" if false
...
do something
else
do something else
endif
endif
endif
same amount of endif as if!
I prefer Lua because it's easier to write out & you can have as many queries as you like in a single sentence with only 1 if.
also we can create complex queries thanks to the "and" & "or" functions
if cond1 and cond2 and cond3 and not cond4 then
-- do something!
elseif cond4 then
-- do something else
end
notice the not before cond4... this turns it into negative value (checks if cond4 is false)
you can also use: if cond1 == true and cond4 == false etc.