on_list
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | on_list [2006/08/29 16:08] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ======Synopsis: | ||
| + | [[on]] [< | ||
| + | |||
| + | ======Description: | ||
| + | This hook is triggered whenever the client receives server output from | ||
| + | the [[LIST]] command. | ||
| + | |||
| + | ======Parameters: | ||
| + | |$0 |channel name | | ||
| + | |$1 |number of users on the channel | | ||
| + | |$2- | ||
| + | |||
| + | ======Examples: | ||
| + | To limit output to channels with a topic: | ||
| + | on ^list " | ||
| + | if ( [$2] ) { | ||
| + | xecho -b $[$CHANNEL_NAME_WIDTH]0 $[-2]1 $2- | ||
| + | } | ||
| + | } | ||
| + | |||
on_list.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1
