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:
30
bitchx-docs/5_Programming/on/channel_signoff
Normal file
30
bitchx-docs/5_Programming/on/channel_signoff
Normal file
@@ -0,0 +1,30 @@
|
||||
Synopsis:
|
||||
on [<modes>]channel_signoff [<serial#>] [-|^]<match> { <action> }
|
||||
|
||||
Description:
|
||||
This hook is triggered whenever the client observes someone signoff from
|
||||
irc. It is not hooked when the client itself signs off.
|
||||
|
||||
Parameters:
|
||||
$0 the channel the signoff was observed on
|
||||
$1 the nickname of the person leaving irc
|
||||
$2- signoff message
|
||||
|
||||
Examples:
|
||||
To distinguish signoffs from one channel to another:
|
||||
on ^channel_nick "*" {
|
||||
if ( [$0] == C ) {
|
||||
echo *** Signoff by $1 \($2-\)
|
||||
} {
|
||||
echo *** Signoff by $1 from $0 \($2-\)
|
||||
}
|
||||
}
|
||||
|
||||
See Also:
|
||||
on(5) quit, signoff; quit(1)
|
||||
|
||||
Other Notes:
|
||||
This hook is not triggered by the client exiting irc. Use the QUIT hook
|
||||
to perform an action when the client quits. This hook differs from the
|
||||
SIGNOFF hook in that this is triggered for every channel on which the
|
||||
person is observed signing off.
|
||||
Reference in New Issue
Block a user