Post your revised code in code brackets with indenting.
Code:
IF $Whatever

'do stuff'
ELSE
IF $somethingElse
'do something else'
ELSE
IF $NoneOfTheAbove
'do this'
ENDIF
ENDIF
ENDIF

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.