on EXIT

 

The on EXIT event triggers when mIRC itself is closed.

 

Format:        on <level>:EXIT:<commands>

Example:        on 1:EXIT:/echo exiting mIRC!

 

Examples

 

The main purpose of this command is to allow scripts to exit cleanly, unset variables, save settings, etc. when mIRC exits.