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

	<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-01-03T01:10:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-01-03T01:10:05-04:00</updated>

		<published>2003-01-03T01:10:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14821#p14821</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14821#p14821"/>
		<title type="html"><![CDATA[chanctcp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14821#p14821"><![CDATA[
<blockquote class="uncited"><div>Thanks, i did exactly you said, and after error i typed<br>&lt;EEggy&gt; .tcl set errorInfo <br>&lt;kkj&gt; Tcl: can't unset "buffer2": no such variable<br>&lt;kkj&gt; Tcl:     while executing<br>&lt;kkj&gt; Tcl: "unset buffer2"<br><br>that's all i get..<br><br>thanks</div></blockquote>You have too much going on with your bot... <br>You need to unload some of your scripts then if you are unable to be quick enough to grab the error message of the error in question, <br>and then try again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Fri Jan 03, 2003 1:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-01-03T01:03:20-04:00</updated>

		<published>2003-01-03T01:03:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14820#p14820</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14820#p14820"/>
		<title type="html"><![CDATA[chanctcp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14820#p14820"><![CDATA[
Thanks, i did exactly you said, and after error i typed<br>&lt;EEggy&gt; .tcl set errorInfo <br>&lt;kkj&gt; Tcl: can't unset "buffer2": no such variable<br>&lt;kkj&gt; Tcl:     while executing<br>&lt;kkj&gt; Tcl: "unset buffer2"<br><br>that's all i get..<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Fri Jan 03, 2003 1:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-01-02T22:40:55-04:00</updated>

		<published>2003-01-02T22:40:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14816#p14816</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14816#p14816"/>
		<title type="html"><![CDATA[chanctcp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14816#p14816"><![CDATA[
As stated, make sure you have .set or .tcl bound in your .conf (not commented out with a #-sign in front of them, and .restart your bot).<br><br>Then when the errors occur,<br>do either:<br>.set errorInfo<br>or<br>.tcl set errorInfo<br><br>(note the capital _I_ in errorInfo).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Thu Jan 02, 2003 10:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-01-02T22:10:59-04:00</updated>

		<published>2003-01-02T22:10:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14815#p14815</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14815#p14815"/>
		<title type="html"><![CDATA[chanctcp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14815#p14815"><![CDATA[
set and tcl are enable in config file<br>oh now i get 2 errors heh<br>beside this -&gt; Tcl error [raw:ncc_checkctcp]: unmatched open quote in list<br>now i get this as well, sometime<br>Tcl error [raw:ncc_checkctcp]: list element in quotes followed by "" instead of space<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Thu Jan 02, 2003 10:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-01-02T21:26:24-04:00</updated>

		<published>2003-01-02T21:26:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14808#p14808</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14808#p14808"/>
		<title type="html"><![CDATA[chanctcp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14808#p14808"><![CDATA[
This script seems rather riddles with these errors.<br><br>Too be honest, i wouldn't know where to begin.<br><br>It seems to be fasionable to use strings commands on list, and list commands on strings.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Jan 02, 2003 9:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-01-02T21:22:17-04:00</updated>

		<published>2003-01-02T21:22:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14805#p14805</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14805#p14805"/>
		<title type="html"><![CDATA[chanctcp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14805#p14805"><![CDATA[
youve probably disabled set &amp; tcl in your bots config<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Thu Jan 02, 2003 9:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-01-02T17:55:22-04:00</updated>

		<published>2003-01-02T17:55:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14794#p14794</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14794#p14794"/>
		<title type="html"><![CDATA[chanctcp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14794#p14794"><![CDATA[
Thanks, i tried like you have suggested, but still getting the same error<br>Tcl error [raw:ncc_checkctcp]: unmatched open quote in list<br><br>also you have suggested to use .set errorinfo, but bot says what?u need help??<br><br>i'll appreciate if someone can help<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Thu Jan 02, 2003 5:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-01-01T17:20:08-04:00</updated>

		<published>2003-01-01T17:20:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14765#p14765</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14765#p14765"/>
		<title type="html"><![CDATA[Re: chanctcp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14765#p14765"><![CDATA[
The only thing I see off-hand that could obviously cause some problems is:<br><div class="codebox"><p>Code: </p><pre><code>if {([string match "\001*\001" [string trim [lrange $arg 1 end] :]]) &amp;&amp; ([string tolower $nick] != [string tolower $botnick])} { </code></pre></div>It's wrong on two levels...<br>1) $arg is a string, and you are doing a list operation on it.<br>2) lrange returns a list, and you are doing a string operation on it.<br><br>Thus, you would want something like:<br><div class="codebox"><p>Code: </p><pre><code>if {([string match "\001*\001" [string trim [join [lrange [split $arg] 1 end]] :]]) &amp;&amp; ([string tolower $nick] != [string tolower $botnick])} { </code></pre></div>If there is still problems, try doing '.set errorInfo' in the bot's partyline to get more details on the problem.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Wed Jan 01, 2003 5:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-01-01T15:16:41-04:00</updated>

		<published>2003-01-01T15:16:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14761#p14761</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14761#p14761"/>
		<title type="html"><![CDATA[chanctcp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14761#p14761"><![CDATA[
Hi, i hope someone can help me, i am getting this error in a partyline<br>Tcl error [raw:ncc_checkctcp]: unmatched open quote in list<br><br>but i couldn't figureout, your help will be appreciated.<br>thanks<br><br>proc raw:ncc_checkctcp {from keyword arg} {<br>global botnick ncc_chans ncc_noactions ncc_ctcps ncc_lockchan ncc_globflags ncc_chanflags<br>set nick [string range $from 0 [expr [string first "!" $from] -1]]<br>set chan [lindex [split $arg] 0]<br>set type [string trim [string trim [lindex $arg 1] :] \001]<br>if {([string match "\001*\001" [string trim [lrange $arg 1 end] :]]) &amp;&amp; ([string tolower $nick] != [string tolower $botnick])} {<br>foreach globflag $ncc_globflags { if {[matchattr [nick2hand $nick] $globflag]} { return 0 } }<br>foreach chanflag $ncc_chanflags { if {[matchattr [nick2hand $nick] |$chanflag $chan]} { return 0 } }<br>if {($ncc_chans == "") || ([lsearch -exact [split [string tolower $ncc_chans]] [string tolower $chan]] != -1)} {<br>if {($ncc_ctcps == "") || ([lsearch -exact [split [string tolower $ncc_ctcps]] [string tolower $type]] != -1)} { <br>if {($ncc_noactions) || ((!$ncc_noactions) &amp;&amp; ([string tolower $type] != "action"))} {<br>if {([lindex $ncc_lockchan 0] != 0) &amp;&amp; ([lindex $ncc_lockchan 1] != 0)} { <br>ncc_lockchan $chan <br>}<br>ncc_punish $nick $from $chan<br>return 1<br>}<br>}<br>}<br>}<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Wed Jan 01, 2003 3:16 pm</p><hr />
]]></content>
	</entry>
	</feed>
