how can i say my bot to join a channel and count alle the people there (how many people in the channel) and then part

Code: Select all
set counter 0
set l1 [chanlist $chan]
foreach u $l1 {
incr counter
}
Code: Select all
set count [llength [chanlist $chan]]
Man you are stil jokerGodOfSuicide wrote:you can combine it with an [isvoice $u $chan] and so on to check how many ops are in there, etc...Code: Select all
set counter 0 set l1 [chanlist $chan] foreach u $l1 { incr counter }
that code should help you out, else i can make a full script for you tomorrow...i'm falling asleep allready
@]Kami[ : state usefull answers or just be silent...i dont think "you need a script" is a usefull answer if he asks for such a script