From WikiChip
On Snotice - Events - mIRC
< mirc‎ | on events
Revision as of 16:23, 20 October 2018 by Sophist (talk | contribs)

The ON SNOTICE event triggers when mIRC receives a server notice.

This event fills the $1- identifier with the text from the server notice.


ON <level>:SNOTICE:<matchtext>:<commands>


<level>The level for the event to trigger.

<matchtext>The text that to be matched. Can also be a wildcard.

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


Halt the default server notice and echo it to the active window in plain text:

ON ^*:SNOTICE:*: {
  echo -a * Server notice: $1-


Added: mIRC v3.8
Added on: 25 Nov 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.

See Also