Articles
lua
IF/ELSE syntax in LUAlua

If/ If Else is an integral function in any program or script. This is the syntax for such statement in LUA.

LUA IF/ELSE example

if (true) then
    -- stuff
elseif(false) then
    -- other stuff
else
    -- null
end