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

	<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>2007-10-03T14:47:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-03T14:47:53-04:00</updated>

		<published>2007-10-03T14:47:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76363#p76363</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76363#p76363"/>
		<title type="html"><![CDATA[Close-brace error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76363#p76363"><![CDATA[
Thank you sooo much tsukeh and nml and rosc <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>How easy it was }{ } { it worked <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">.. I did'nt realize.. Thanks alot once again<br><br>You guys rock<br><br>iamdeath<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Wed Oct 03, 2007 2:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-03T14:21:25-04:00</updated>

		<published>2007-10-03T14:21:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76362#p76362</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76362#p76362"/>
		<title type="html"><![CDATA[Close-brace error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76362#p76362"><![CDATA[
No but it is such a nice point I realized that too, and I think that will be the problem, right now I can not check my script the reason is this script can be tested on certain points or lets say on certain time. I will be able to check this script tomorrow morning. I am deadly sure those spaces are the problem I will definately let you know as soon as it's fixed.<br><br>Thanks alot really thank you soo much nml. I spent like 2 hours to find out what and where the error is, and how easy it was to <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Wed Oct 03, 2007 2:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-10-03T14:10:14-04:00</updated>

		<published>2007-10-03T14:10:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76360#p76360</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76360#p76360"/>
		<title type="html"><![CDATA[Close-brace error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76360#p76360"><![CDATA[
Did you try tsukeh's suggestion?<br>And did it help?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Oct 03, 2007 2:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-03T14:00:38-04:00</updated>

		<published>2007-10-03T14:00:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76359#p76359</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76359#p76359"/>
		<title type="html"><![CDATA[Close-brace error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76359#p76359"><![CDATA[
<blockquote class="uncited"><div>@rosc: Considdering there's no list-commands, there is no reason to use split at all here... And there's nothing that would cause the content of $text to be evaluated either in the posted code.<br><br>@iamdeath:<br>One question, or maybe two:<br>Is that the whole body of relay:text?<br><br>If not, post the whole proc...  (could you post it with head aswell?)<br><br>Also, just as tsukeh suggested, add a space between } and { in the if-statement... You need it, and it is most likely the source of the error...</div></blockquote>Thanks for replying, actually it is not the whole body, but when the script was not working I commented these 3 or 4 lines and now my script is working so it soo sure that the problem lies in these lines. For not sharing my whole body is my script is sensitive and private so I can not show it to public but if you say I can send you a private msg to have a look into it, but the problem is I commented these lines and then I restarted my bot and there are no errors. Your help will be really appreciated.<br><br>Thanks<br>iamdeath<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Wed Oct 03, 2007 2:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-10-03T09:46:07-04:00</updated>

		<published>2007-10-03T09:46:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76356#p76356</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76356#p76356"/>
		<title type="html"><![CDATA[Close-brace error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76356#p76356"><![CDATA[
@rosc: Considdering there's no list-commands, there is no reason to use split at all here... And there's nothing that would cause the content of $text to be evaluated either in the posted code.<br><br>@iamdeath:<br>One question, or maybe two:<br>Is that the whole body of relay:text?<br><br>If not, post the whole proc...  (could you post it with head aswell?)<br><br>Also, just as tsukeh suggested, add a space between } and { in the if-statement... You need it, and it is most likely the source of the error...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Oct 03, 2007 9:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-10-03T08:44:09-04:00</updated>

		<published>2007-10-03T08:44:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76354#p76354</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76354#p76354"/>
		<title type="html"><![CDATA[Close-brace error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76354#p76354"><![CDATA[
When will people learn to use .set errorInfo to find out what the real error is?<br><br>More than likely the problem is $text contains tcl-special chars and you didn't use [split] to protect it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Wed Oct 03, 2007 8:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tsukeh]]></name></author>
		<updated>2007-10-03T08:33:16-04:00</updated>

		<published>2007-10-03T08:33:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76353#p76353</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76353#p76353"/>
		<title type="html"><![CDATA[Close-brace error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76353#p76353"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {[string match -nocase $endof $text]} {       relay:send "PRIVMSG $endofchan :$nick: $text"       relay:send "PRIVMSG $endofchan :$nick: These are just Live End of the over results. For Live ball-by-ball Cricket Commentary between $nick  Join #Channel"}</code></pre></div>one space more..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5911">tsukeh</a> — Wed Oct 03, 2007 8:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-03T07:29:06-04:00</updated>

		<published>2007-10-03T07:29:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76352#p76352</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76352#p76352"/>
		<title type="html"><![CDATA[Close-brace error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76352#p76352"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>   if {[string match -nocase $endof $text]}{       relay:send "PRIVMSG $endofchan :$nick: $text"       relay:send "PRIVMSG $endofchan :$nick: These are just Live End of the over results. For Live ball-by-ball Cricket Commentary between $nick  Join #Channel"}</code></pre></div><br>The error comes in DCC is:<br><div class="codebox"><p>Code: </p><pre><code>Tcl error [relay:text]: extra characters after close-brace</code></pre></div>Could you suggest me where is the error.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Wed Oct 03, 2007 7:29 am</p><hr />
]]></content>
	</entry>
	</feed>
