Originally Posted By: Kooky

I think that should work with !count in a #channel
But it doesn't.

I'd like to get it so I could /msg BotName !count
and the bot would tell me the count of 8 users in #MyRoom1 2 users in #MyRoom2
Showing how many people are in each room that the bot is in.

Code:
on *:text:*:?: {
if ($strip($1) == !count) {
var %x = 1 
while (%x <= $comchan($me,0)) {
.timer 1 $calc(%x + 1) msg $nick There Are $nick($comchan($me,%x),0) In $comchan($me,%x) .
inc %x
}
}
}

Try this code smile Put it in an empty remote file. I Have tested it and works just like you wanted it smile


((( I think that i replied to the wrong person LOL )))

Last edited by OrFeAsGr; 03/04/15 02:40 PM.