you know you can make IFs as multi-line blocks right? IF some condition THEN 'code in here ENDIF you can also chain ELSEIFs in this way