set sfile "/home/pergy/atira/score/sfile.txt"
set hfile "/home/pergy/WWW/atira/hfile.html"
proc update {} {
set in [open $::sfile]
set out [open $::hfile w]
puts $out "<table border=\"0\">"
set i 0
while {![eof $in] && [set line [gets $in]] != ""} {
scan $line "%s %d" nick score
puts $out "<tr><td>[incr i].</td><td>$nick</td><td>$score</td></tr>"
}
puts $out "</table>"
close $in; close $out
utimer 90 update
}
update