Article
home/blog/Loading

IF/ELSE syntax in LUA

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