From WikiChip
On Usermode - Events - mIRC
< mirc‎ | on events(Redirected from On usermode - mIRC)

The ON USERMODE event triggers when the local mIRC client's usermodes have been changed on a connection.

This event fills the $1- identifier with the new usermodes for the client.

Synopsis[edit]

ON <level>:USERMODE:<commands>

Parameters[edit]

<level>The corresponding access levels for the event to trigger.

<commands>The commands to be performed when the event listener's criteria is met.

Example[edit]

Halt the default mIRC response, and then echo the new details to the active window:

ON ^*:USERMODE: {
  echo -a * You have set new usermodes: $1-
  haltdef
}

Compatibility[edit]

Added: mIRC v5.0
Added on: 02 Apr 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]