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