On exit

From Scriptwiki
Revision as of 10:55, 2 July 2007 by Cail (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The on EXIT event triggers when mIRC itself is closed.

on <level>:EXIT:<commands>


The purpose of this event is to allow scripts to exit cleanly, e.g. unset variables, save settings, etc.

Example

on *:EXIT: {
 unset %temp*
}

This example would unset all variables beginning with temp.

See Also