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

From PenguinMod Wiki
Jump to navigation Jump to search
if <> then else if <> then else
...
[[File:|200px]]
Caption
Block Type C-Block
Category / Extension Control
Status Who tf uses status

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.