Well that can't work because at the moment you join a channel, mIRC knows of only ONE user for that channel, You

You have to wait until you've recieved the names list, (Raw) 366 YourNick #channel :End of /NAMES list.
raw 366:*:{
echo $2 1 »14»15» 12Quick Channel Stats for $2
echo $2 1 »14»15» 2Ops:14(18 $+ $nick(#,0,o) $+ 14)2
echo $2 1 »14»15» Voice:14(18 $+ $nick(#,0,v) $+ 14)2
echo $2 1 »14»15» Non-Ops:14(18 $+ $nick(#,0,r) $+ 14)2
echo $2 1 »14»15» Total:14(18 $+ $nick(#,0) $+ 14)
}
To get the other items,
- /who #channel
- - raw 352 <- parse the replies to inc a var or something if G in $7
- - raw 315 <- echo how many users are away
- /mode #channel b
- raw 368 is end of banlist, now you can echo the total number of bans
Check Hammers snippet
Here [edit] raw 368 is the end of banlist
