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.

Getting users on the partyline

Old posts that have not been replied to for several years.
Locked
b
bobjuh
Master
Posts: 268
Joined: Wed Oct 03, 2001 8:00 pm
Location: Netherlands
Contact:

Getting users on the partyline

Post by bobjuh »

Oke i need a script that's give's me the list of the users that is currently on the partyline.

Partyline : BoBjUH, User2, User3

I'm not really good with tcl but i read tcl-command.doc and i think you have to to it with "whom *" but than you get all the info like host and stuff i just need the handle.

Somebody gave me some code it's gives an error.

Code: Select all

set a "";set b 0, foreach c [dcclist chat] { incr b;append a "[lindex [split $c] 1] - ";};append a "Total $b";return $a;
The error that i get is
[15:30] Tcl error [dcc:test]: wrong # args: should be "set varName ?newValue?"
Cany anybody help me ?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

set b 0, notice the "," when it should be ";" :)
Once the game is over, the king and the pawn go back in the same box.
Locked