if cond1 then action1 else if cond2 then action2 else if cond3 then action3 else action4 endif endif endif