Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
23
bitchx-docs/5_Programming/on/exit
Normal file
23
bitchx-docs/5_Programming/on/exit
Normal file
@@ -0,0 +1,23 @@
|
||||
Synopsis:
|
||||
on [<modes>]exit [<serial#>] [-|^]<match> { <action> }
|
||||
|
||||
Description:
|
||||
This hook is triggered when the client is about to exit normally (from
|
||||
the QUIT command, etc.). It is mostly useful for doing cleanup before
|
||||
exiting, such as saving any current settings. It cannot be used to
|
||||
trap the QUIT command; the client will exit immediately after this
|
||||
hook is triggered..
|
||||
|
||||
Parameters:
|
||||
$0 always the string "Exiting"
|
||||
|
||||
Examples:
|
||||
Save current settings before exiting:
|
||||
on ^exit "*" {
|
||||
save all
|
||||
echo Now exiting ircII-${J}...
|
||||
}
|
||||
|
||||
See Also:
|
||||
exec(5); quit(1)
|
||||
|
||||
Reference in New Issue
Block a user