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.

A status.html tcl script

Old posts that have not been replied to for several years.
Locked
p
panazonic
Voice
Posts: 11
Joined: Thu Feb 13, 2003 10:50 am
Location: Norway

A status.html tcl script

Post by panazonic »

Does anyone have a Tcl script that makes a html file of the status of the bot?

Like the channels the bot is on and/or the status of the userlist and things like that?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

I haven't seen one but it's easy to start toing one, all you need in the first place are the stuff you want to be displayed in that .html file. Next step is coding this thing, is not hard and even not so complicated. To open the .html file, suposing you want it to *refresh* the old page not to make a new one, use something like:

Code: Select all

set file [open index.html a+]
puts $file "some text"
close $file
and voila.. the .html page was generated :)
Once the game is over, the king and the pawn go back in the same box.
Locked