<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/9362" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2005-03-18T14:43:35-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/9362</id>

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-03-18T14:43:35-04:00</updated>

		<published>2005-03-18T14:43:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47861#p47861</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47861#p47861"/>
		<title type="html"><![CDATA[read scorefile and make html]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47861#p47861"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>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 "&lt;table border=\"0\"&gt;"  set i 0  while {![eof $in] &amp;&amp; [set line [gets $in]] != ""} {    scan $line "%s %d" nick score    puts $out "&lt;tr&gt;&lt;td&gt;[incr i].&lt;/td&gt;&lt;td&gt;$nick&lt;/td&gt;&lt;td&gt;$score&lt;/td&gt;&lt;/tr&gt;"  }  puts $out "&lt;/table&gt;"  close $in; close $out  utimer 90 update}update</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Mar 18, 2005 2:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TammeN]]></name></author>
		<updated>2005-03-18T14:13:53-04:00</updated>

		<published>2005-03-18T14:13:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47859#p47859</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47859#p47859"/>
		<title type="html"><![CDATA[read scorefile and make html]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47859#p47859"><![CDATA[
Hit here,<br><br>please can someone help me a little script?!<br><br>i have a game script that write de score file like this:<br><br>nick1 1000<br>nick2 850<br>nick3 500<br>...<br><br>i want to ouput the scorefile in a html file with position number, nick and score<div class="codebox"><p>Code: </p><pre><code>&lt;table border="0"&gt;    &lt;tr&gt;&lt;td&gt;1.&lt;/td&gt;&lt;td&gt;nick1&lt;/td&gt;&lt;td&gt;1000&lt;/td&gt;&lt;/tr&gt;    &lt;tr&gt;&lt;td&gt;2.&lt;/td&gt;&lt;td&gt;nick2&lt;/td&gt;&lt;td&gt;850&lt;/td&gt;&lt;/tr&gt;    &lt;tr&gt;&lt;td&gt;3.&lt;/td&gt;&lt;td&gt;nick3&lt;/td&gt;&lt;td&gt;500&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</code></pre></div>this with a update of 90 seconds.<br><br>scorefile location<br>/home/pergy/atira/score/<br>html location<br>/home/pergy/WWW/atira/<br><br>Thnx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5833">TammeN</a> — Fri Mar 18, 2005 2:13 pm</p><hr />
]]></content>
	</entry>
	</feed>
