The on USERMODE event triggers when you change your usermode.
Format: on <level>:USERMODE:<commands>
Example: on 1:USERMODE:/echo You changed your usermode to $1-
on 1:USERMODE:/echo Usermode for $nick is now $1-
Triggers when your usermode changes. The $1- parameters refer to the new usermode.