numonchannel
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | numonchannel [2006/08/29 16:08] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: numonchannel.txt, | ||
+ | ======Synopsis: | ||
+ | $__numonchannel__(< | ||
+ | |||
+ | ======Technical: | ||
+ | * If the < | ||
+ | * If the < | ||
+ | * This function returns the number of members of the given channel on the current server. | ||
+ | * If you are not on < | ||
+ | * Please remember that if you use this in an /[[ON]] that if you ask for a < | ||
+ | * This function will not work properly in your status bar. | ||
+ | |||
+ | ======Practical: | ||
+ | I originally wrote this function so my bot could tell when there was | ||
+ | nobody left on the channel. | ||
+ | only member of a channel, I would have it part and rejoin the channel | ||
+ | to get channel ops. You could also use it to set a special mode when | ||
+ | the user count reaches a certain level. | ||
+ | channel member limit to 10 over the current count, and increment or | ||
+ | decrement the channel limit every so often. | ||
+ | in protecting against tsunami bot attacks. | ||
+ | |||
+ | ======Returns: | ||
+ | Returns the number of users on the given channel, or 0 for any error. | ||
+ | |||
+ | ======History: | ||
+ | This function first appeared in "plus 9" (post-ircII, | ||
numonchannel.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1