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:
21
bitchx-docs/5_Programming/on/list
Normal file
21
bitchx-docs/5_Programming/on/list
Normal file
@@ -0,0 +1,21 @@
|
||||
Synopsis:
|
||||
on [<modes>]list [<serial#>] [-|^]<match> { <action> }
|
||||
|
||||
Description:
|
||||
This hook is triggered whenever the client receives server output from
|
||||
the LIST command. Any individual line of output can trigger the hook.
|
||||
|
||||
Parameters:
|
||||
$0 channel name
|
||||
$1 number of users on the channel
|
||||
$2- channel topic (if any)
|
||||
|
||||
Examples:
|
||||
To limit output to channels with a topic:
|
||||
on ^list "*" {
|
||||
if ( [$2] ) echo *** $[$CHANNEL_NAME_WIDTH]0 $[-2]1 $2-
|
||||
}
|
||||
|
||||
See Also:
|
||||
list(2); on(5) widelist
|
||||
|
||||
Reference in New Issue
Block a user