Use
ELSEIF ( <condition> ).
This command can only be used within an IF...ENDIF block. More information: IF.