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

	<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-04-28T14:51:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-04-28T14:51:11-04:00</updated>

		<published>2003-04-28T14:51:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19570#p19570</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19570#p19570"/>
		<title type="html"><![CDATA[thanx :)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19570#p19570"><![CDATA[
ok i replaced all "set apres [lrange $arg 0 end]" in the script with "set apres $arg" so far its working fine with no errors <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I'll tell you if there's any new errors in it<br><br>Thank You <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Apr 28, 2003 2:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-04-28T07:51:52-04:00</updated>

		<published>2003-04-28T07:51:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19558#p19558</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19558#p19558"/>
		<title type="html"><![CDATA[[02:38] Tcl error [onlesais3]: list element in quotes follow]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19558#p19558"><![CDATA[
Find the line<div class="codebox"><p>Code: </p><pre><code>set apres [lrange $arg 0 end]</code></pre></div>You can do one of two things<br><br>1:<div class="codebox"><p>Code: </p><pre><code>set apres $arg</code></pre></div>Or<br>2:<div class="codebox"><p>Code: </p><pre><code>set apres [lrange [split $arg] 0 end]</code></pre></div>They both do exactly the same thing. 1 is better, but that would depend if there is any more code to the script, and what is done later.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Apr 28, 2003 7:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2003-04-28T07:53:24-04:00</updated>

		<published>2003-04-28T07:50:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19557#p19557</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19557#p19557"/>
		<title type="html"><![CDATA[[02:38] Tcl error [onlesais3]: list element in quotes follow]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19557#p19557"><![CDATA[
try a<div class="codebox"><p>Code: </p><pre><code>set arg [split $arg]</code></pre></div>before the set apres<br><br>edit: you could use<div class="codebox"><p>Code: </p><pre><code>set apres $arg </code></pre></div>instead. just saw that you have lrange from 0 to end<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Mon Apr 28, 2003 7:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-04-28T06:48:57-04:00</updated>

		<published>2003-04-28T06:48:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19553#p19553</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19553#p19553"/>
		<title type="html"><![CDATA[:)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19553#p19553"><![CDATA[
<em class="text-italics">From an Anti-Repeat tcl script</em><div class="codebox"><p>Code: </p><pre><code>bind pubm - "*" onlesaisproc onlesais {nick host hand chan arg} {if {![botisop $chan]} {return 0}set avant [getuser sequiadit xtra $nick]set apres [lrange $arg 0 end]set kbmsg [getuser repinfo xtra kickbanmsg]set kmsg [getuser repinfo xtra kickmsg]set avermsg [getuser repinfo xtra avermsg]set avernot [getuser repinfo xtra avernot]set repeatfois [getuser repinfo xtra fois]set bantime [getuser repinfo xtra bantime]set level [getuser repinfo xtra level]set onoff [getuser repinfo xtra onoff]if {$onoff != "on"} {return 0}if {$level != "1"} {return 0}if {$apres != $avant} {setuser repeat xtra $nick 0}</code></pre></div>can you find the problem and fix it please, its realy buggy getting these errors :p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Apr 28, 2003 6:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-04-28T05:57:18-04:00</updated>

		<published>2003-04-28T05:57:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19545#p19545</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19545#p19545"/>
		<title type="html"><![CDATA[[02:38] Tcl error [onlesais3]: list element in quotes follow]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19545#p19545"><![CDATA[
This is caused by a script incorrectly handling strings, by using list commands on them.<br><br><br>Lists are a special way for formatting strings, so information can be stored and retrieved accuratly from them with minimal fuss. However, if it is a incorectly formatted string, then list commands don't allways work and cause errors like this.<br><br>The only way to fix this, is to identify which script is the offender. This can be done by searching for "proc onlesais" in your loaded scripts, or using<blockquote class="uncited"><div>grep "proc onlesais" ./*</div></blockquote>Inside the bgots script directory (presuming you are on *nix, use the windows search feature if using windrop).<br><br>We will be in more of a possition to help if we know which script it is, and how to fix it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Apr 28, 2003 5:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-04-28T05:46:18-04:00</updated>

		<published>2003-04-28T05:46:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19544#p19544</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19544#p19544"/>
		<title type="html"><![CDATA[[02:38] Tcl error [onlesais3]: list element in quotes follow]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19544#p19544"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>[02:38] Tcl error [onlesais3]: list element in quotes followed by ":" instead of space[02:38] Tcl error [onlesais2]: list element in quotes followed by ":" instead of space[02:38] Tcl error [onlesais1]: list element in quotes followed by ":" instead of space[02:38] Tcl error [onlesais]: list element in quotes followed by ":" instead of space</code></pre></div>I keep getting these error in my eggdrop, can anyone tell me how to fix it please ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Apr 28, 2003 5:46 am</p><hr />
]]></content>
	</entry>
	</feed>
