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

	<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>2003-11-01T08:18:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-01T08:18:58-04:00</updated>

		<published>2003-11-01T08:18:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29288#p29288</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29288#p29288"/>
		<title type="html"><![CDATA[wrong # args: should be &quot;proc name args body&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29288#p29288"><![CDATA[
you probably have a missing } in your get_score or you pasted the proc via pico so it has multiple lines.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Nov 01, 2003 8:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-10-31T20:04:53-04:00</updated>

		<published>2003-10-31T20:04:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29274#p29274</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29274#p29274"/>
		<title type="html"><![CDATA[wrong # args: should be &quot;proc name args body&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29274#p29274"><![CDATA[
hey, im getting the error message: <br><br>'wrong # args: should be "proc name args body" while executing <br>"proc get_score { args } { <br>global nick wscorefile chan allscores<br>set allscores ""<br>set fs [open $wscorefile r]"' <br><br>when i try to run my bot. The part of script that isn't working is: <br><br>#Recored score<br>proc get_score { args } {<br>       global nick wscorefile chan allscores<br>       set allscores ""<br>       set fs [open $wscorefile r]<br><br>        #load its contents into a list<br>        while {![eof $fs]} {<br>set grabscore [split [gets $fs] |]<br>set sortscore [lrange $grabscore 0 1]<br>lappend allscores [split $sortscore]<br>        }<br>        set allscores [lsort -real -index 1 $allscores]<br>        lreverse<br><br>        #Close socre file<br>        close $fs<br>}<br><br>Anyone know how to go about solving this?<p>Statistics: Posted by Guest — Fri Oct 31, 2003 8:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
