From WikiChip
Difference between revisions of "mirc/on events/on usermode"
< mirc‎ | on events

(Created On usermode event - mIRC)
 
m (Bot: Adding a template (template:mIRC on event list))
Line 26: Line 26:
 
* [[On snotice - mIRC|ON SNOTICE]]
 
* [[On snotice - mIRC|ON SNOTICE]]
 
* [[On wallops - mIRC|ON WALLOPS]]
 
* [[On wallops - mIRC|ON WALLOPS]]
 +
{{mIRC on event list}}
  
[[Category:mIRC on events]]
+
[[Category:MIRC on events]]

Revision as of 23:10, 3 July 2014

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

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

Synopsis

ON <level>:USERMODE:<commands>

Parameters

<level>The level for the event to trigger.

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

Example

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

Added: mIRC v5.0

Added On: 02/04/97

See Also