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.

I need a logg script..

Old posts that have not been replied to for several years.
Locked
e
ellis

I need a logg script..

Post by ellis »

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.
M
MC_8
Voice
Posts: 36
Joined: Sat Apr 26, 2003 5:04 pm
Location: Dallas, Texas
Contact:

Post by MC_8 »

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.
Carl M. Gregory - MC_8
http://mc.purehype.net/whois/
Locked