for if with lua code example
Example: if statement lua
if (conditon) then
--action #1
elseif (condition) then
--action #2
else
--action #3
end
if (conditon) then
--action #1
elseif (condition) then
--action #2
else
--action #3
end