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.
-
jjblade
- Voice
- Posts: 16
- Joined: Sat Jul 24, 2004 5:23 am
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!
-
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