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.
N
Nada_Surf
Post
by Nada_Surf » Wed Sep 24, 2003 3:54 am
I may be missing something here as I am quite new at this, but I am struggling to find a command that returns a list of who is on a channel that the bot is on.
the 'whom' function returns what i need, but only of people on the botnet, i need the entire channel listing.. i.e what the IRC command /who #channel does.
Any help or advice would be greatly appreciated!
GodOfSuicide
Master
Posts: 463 Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria
Post
by GodOfSuicide » Wed Sep 24, 2003 5:25 am
this returns all the users in a channel, special cars marked with an { } around the name, all names seperated by " "
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Wed Sep 24, 2003 5:36 am
It is actualy known as a Tcl list, so it can be easily cycled using the foreach command, or using lindex or lrange directly.
N
Nada_Surf
Post
by Nada_Surf » Wed Sep 24, 2003 5:38 am
Thanks a lot!