From WikiChip
Difference between revisions of "mirc/on events/on quit"
m (bot: cat fixing naming) |
|||
Line 1: | Line 1: | ||
+ | {{mIRC Guide}} | ||
The '''ON QUIT''' event is triggered when a user quits/disconnects from the IRC network while on the same channel as the local mIRC client. | The '''ON QUIT''' event is triggered when a user quits/disconnects from the IRC network while on the same channel as the local mIRC client. | ||
Revision as of 14:12, 25 October 2014
Template:mIRC Guide The ON QUIT event is triggered when a user quits/disconnects from the IRC network while on the same channel as the local mIRC client.
Contents
Synopsis
ON <level>:QUIT:<commands>
<level>The level for the event to trigger.
<commands>The commands to be performed when the event listener's criteria is met.
Example
When a user disconnects, stop mIRC's default message and, instead, echo to the active window a custom message:
ON ^*:QUIT: { echo -a * $nick just disconnected from $network haltdef }
Compatibility
Added: mIRC v2.1a
Added on: 28 Feb 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See Also
mIRC on event list