<?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/10040" />

	<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-07-15T14:07:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2005-07-15T14:07:17-04:00</updated>

		<published>2005-07-15T14:07:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52533#p52533</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52533#p52533"/>
		<title type="html"><![CDATA[modify script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52533#p52533"><![CDATA[
If you don't understand it, you shouldn't be using it really. You want to modify a code of which you don't even know how it works.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Fri Jul 15, 2005 2:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[hikaro]]></name></author>
		<updated>2005-07-15T14:02:32-04:00</updated>

		<published>2005-07-15T14:02:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52531#p52531</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52531#p52531"/>
		<title type="html"><![CDATA[modify script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52531#p52531"><![CDATA[
<blockquote class="uncited"><div>heh, another animated gif dude, posting unindented code with quote tags<br><br>how about not saving names with zero score in the first place?</div></blockquote>I did try about not saving names with zero score but it seems more difficult to do, because the scripts longer and i cant understand it..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4672">hikaro</a> — Fri Jul 15, 2005 2:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-07-15T04:13:59-04:00</updated>

		<published>2005-07-15T04:13:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52511#p52511</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52511#p52511"/>
		<title type="html"><![CDATA[modify script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52511#p52511"><![CDATA[
<blockquote class="uncited"><div>heh, another animated gif dude, posting unindented code with quote tags<br><br>how about not saving names with zero score in the first place?</div></blockquote>Perhaps its animated gif week and noone told us?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Fri Jul 15, 2005 4:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-15T04:03:10-04:00</updated>

		<published>2005-07-15T04:03:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52510#p52510</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52510#p52510"/>
		<title type="html"><![CDATA[modify script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52510#p52510"><![CDATA[
heh, another animated gif dude, posting unindented code with quote tags<br><br>how about not saving names with zero score in the first place?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Jul 15, 2005 4:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[hikaro]]></name></author>
		<updated>2005-07-15T03:47:11-04:00</updated>

		<published>2005-07-15T03:47:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52506#p52506</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52506#p52506"/>
		<title type="html"><![CDATA[modify script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52506#p52506"><![CDATA[
Hello, <br>ive been trying to edit the auto reset into delete only those who has score 0, i dont want to reset the score everymonth but i want to delete those who has score 0. can anybody help me please...<br>on the score file it looks like:<br>hebron 10<br>cipe 7<br>born 0<br>bir 0<br><br>nah i want to del those who has 0 score.<br><blockquote class="uncited"><div>proc KAOS_NewMonth {min hour day month year} {<br> global KAOSScoreFile KAOSScore KAOSLastMonthScores<br><br> set cmonth [expr $month +1]<br> set lmonth [KAOSLastMonthName $cmonth]<br><br> kaosmsg "[kaos] [kcr] Clearing Monthly Scores \003"<br><br> set KAOSMonthFileName "$KAOSScoreFile.$lmonth"<br><br> set f [open $KAOSMonthFileName w]<br> set s 0<br> foreach n [lsort -decreasing -command sort_KAOSScore [array names KAOSScore]] {<br>  puts $f "$n $KAOSScore($n)"<br>  if {$s &lt; 3} {<br>   if {$KAOSScore($n) &gt; 0} {<br>    set KAOSLastMonthScores($s) "$n $KAOSScore($n)"<br>   } {<br>    set KAOSLastMonthScores($s) "Nobody 0"<br>   }<br>  }<br>  incr s<br> }<br> close $f<br><br> KAOS_WriteCFG<br><br> if [info exists KAOSScore] {unset KAOSScore}<br><br> set f [open $KAOSScoreFile w]<br> puts $f "Nobody 0"<br> close $f</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4672">hikaro</a> — Fri Jul 15, 2005 3:47 am</p><hr />
]]></content>
	</entry>
	</feed>
