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.

looking for "who´s online" script - showing just n

Old posts that have not been replied to for several years.
Locked
j
jjblade
Voice
Posts: 16
Joined: Sat Jul 24, 2004 5:23 am

looking for "who´s online" script - showing just n

Post by jjblade »

Hi!

Im looking for a simple tcl script scanning all channels and writing who´s in the chat like that into a file:

chatter1
chatter2
chatter3
etc.

I´ve used "search" but found only scripts counting the users.
And I don´t mean the stats.mod, because I want to put the created file into my webpage.

TiA!
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

Code: Select all

set out [open file.txt w+]
foreach user [chanlist #channel] {
 puts $out $user
}
close $out
you'll have to add the html/php tags yourself

btw: scripts like that have been posted on the forum quite often, so next time use also the forum's search feature
Locked