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.
e
ellis
Post
by ellis » Sat Apr 19, 2003 5:39 am
any one know of a good real-time logscript?
i whant to past the 4 last lines from my chan on a website and i dont realy know how i can du that. I also need it to print;
document.write('Chan event')
document.write('Chan event')
document.write('Chan event')
document.write('Chan event')
so i can include it by java on my yabb forum.
MC_8
Voice
Posts: 36 Joined: Sat Apr 26, 2003 5:04 pm
Location: Dallas, Texas
Contact:
Post
by MC_8 » Sat Apr 26, 2003 6:00 pm
Code: Select all
if {![file exists the_filename]} {close [open the_filename w]}
set io [open the_filename a]
puts $io $the_text_said
puts $io "document.write('Chan event')"
puts $io "document.write('Chan event')"
puts $io "document.write('Chan event')"
puts $io "document.write('Chan event')"
close $io
Hope that helps.