on_exit
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | on_exit [2007/03/02 21:53] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Synopsis: | ||
+ | [[on]] [< | ||
+ | |||
+ | ======Description: | ||
+ | This hook is triggered when the client is about to exit normally (from the | ||
+ | [[QUIT]] command, etc.). | ||
+ | such as saving any current settings. | ||
+ | command; the client will exit immediately after this hook is triggered.. | ||
+ | |||
+ | ======Parameters: | ||
+ | |$* | Your quit message | | ||
+ | |||
+ | ======Default behavior: | ||
+ | If you do not suppress this event, the client does nothing. | ||
+ | The client immediately begins shutdown procedures no matter what | ||
+ | you do or don't do with this event. | ||
+ | |||
+ | ======Examples: | ||
+ | Save current settings before exiting: | ||
+ | on ^exit " | ||
+ | save all | ||
+ | echo Now exiting ircII-${J}... | ||
+ | } | ||
+ | |||
on_exit.txt · Last modified: 2007/03/02 21:53 by 127.0.0.1