This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
-
eiSi
- Halfop
- Posts: 70
- Joined: Thu Mar 07, 2002 8:00 pm
Post
by eiSi »
hi there!
can anybody help me please?
I'm in need of a procedure with wich I can get the number of users in a specific channel.
Thanks a lot!
-
ppslim
- Revered One
- Posts: 3914
- Joined: Sun Sep 23, 2001 8:00 pm
- Location: Liverpool, England
Post
by ppslim »
Code: Select all
set channel "#thischannel"
set ChanCount [llength [chanlist $channel]]
This will give you a count, including the bot.
-
eiSi
- Halfop
- Posts: 70
- Joined: Thu Mar 07, 2002 8:00 pm
Post
by eiSi »
thanks a lot!
-
caesar
- Mint Rubber
- Posts: 3778
- Joined: Sun Oct 14, 2001 8:00 pm
- Location: Mint Factory
Post
by caesar »
Also to remove it from counting: set ChanCount [expr [llength [chanlist $channel]] - 1]
Once the game is over, the king and the pawn go back in the same box.