If then... else if then... else...

From PenguinMod Wiki (Official)
Jump to navigation Jump to search

The if <> then else if <> then else block is a c-block that sees if the first boolean is true, and runs the code inside, if not checks the 2nd boolean for the same thing, and if false, runs the code in the else portion. It is similar to the if <> then else if <> block.

Workaround

This block can be worked around by using 2 if <> then else block, one inside of the 1st in the else portion.

if <> then

else
if <> then

else