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

(Created On exit event - mIRC)
 
m (Bot: Adding a template (template:mIRC on event list))
Line 23: Line 23:
 
* [[On disconnect - mIRC|ON DISCONNECT]]
 
* [[On disconnect - mIRC|ON DISCONNECT]]
 
* [[On error - mIRC|ON ERROR]]
 
* [[On error - mIRC|ON ERROR]]
 +
{{mIRC on event list}}
  
[[Category:mIRC on events]]
+
[[Category:MIRC on events]]

Revision as of 00:03, 4 July 2014

The ON EXIT event triggers specifically when mIRC is exiting. This event can allow scripts to essentially clean themselves up, including removing unnecessary variables and other stored value types.

Synopsis

ON <level>:EXIT:<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

This example will popup an $input window before you exit mIRC:

ON *:EXIT:noop $input(Goodbye!,o,Bye Window)

Compatibility

Added: mIRC v5.81

Added On: 09/11/2000

See Also