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

	<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-10-04T02:59:33-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ranny]]></name></author>
		<updated>2005-10-04T02:59:33-04:00</updated>

		<published>2005-10-04T02:59:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56376#p56376</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56376#p56376"/>
		<title type="html"><![CDATA[rehash error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56376#p56376"><![CDATA[
Hello,<br>it's ok for error message.Thanks for help.<br>Just,i don't now how write the proc where there is an error.It's possible to find that <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_question.gif" width="15" height="15" alt=":?:" title="Question"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6386">ranny</a> — Tue Oct 04, 2005 2:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ranny]]></name></author>
		<updated>2005-10-01T06:47:54-04:00</updated>

		<published>2005-10-01T06:47:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56261#p56261</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56261#p56261"/>
		<title type="html"><![CDATA[rehash error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56261#p56261"><![CDATA[
Hum,<br><br>I don't understand.<br><br>In partyline i've just <blockquote class="uncited"><div>&lt;mybot&gt; [12:27] Tcl error [test]: missing "</div></blockquote>And i will want that the eggdrop write on the channel  this message.<br><br>But with  avilon's script   the egg write <blockquote class="uncited"><div>[12:27:34] (@mybot) : TCL ERROR -&gt;<br>[12:27:36] (@mybot) : missing "<br>[12:27:38] (@mybot) : TCL ERROR -&gt;<br>[12:27:40] (@mybot) : missing " while compiling "putquick "privmsg #toto :pol "<br>[12:27:42] (@mybot) : TCL ERROR -&gt;<br>[12:27:44] (@mybot) : missing "<br>[12:27:46] (@mybot) : TCL ERROR -&gt;<br>[12:27:48] (@mybot) : missing " (compiling body of proc "test", line 3)<br>[12:27:50] (@mybot) : TCL ERROR -&gt;<br>[12:27:52] (@mybot) : missing "<br>[12:27:54] (@mybot) : TCL ERROR -&gt;<br>[12:27:56] (@mybot) : missing " while executing "test $_pub1 $_pub2 $_pub3 $_pub4 $_pub5"</div></blockquote>And with other message error, the egg writes more message error <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_question.gif" width="15" height="15" alt=":?:" title="Question">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_question.gif" width="15" height="15" alt=":?:" title="Question"><br><br>It's possible write the proc and the script where there's  error?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6386">ranny</a> — Sat Oct 01, 2005 6:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-10-01T03:07:53-04:00</updated>

		<published>2005-10-01T03:07:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56255#p56255</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56255#p56255"/>
		<title type="html"><![CDATA[rehash error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56255#p56255"><![CDATA[
hmm, strange, missing " usually returns some more infos. have you checked raw logging in partyline? maybe it breaks on some special char which I cant think of <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=2382">De Kus</a> — Sat Oct 01, 2005 3:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[avilon]]></name></author>
		<updated>2005-10-01T08:32:19-04:00</updated>

		<published>2005-09-30T17:41:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56239#p56239</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56239#p56239"/>
		<title type="html"><![CDATA[rehash error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56239#p56239"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>trace add variable ::errorInfo write fooproc foo {name1 name2 op} {foreach line [longtextout $::errorInfo] { puthelp "PRIVMSG #YOURCHANNEL :$line" }}proc longtextout text {   set text [split [string map {\n " "} $text]];set curpos 0   for {set x 1} {$x&lt;=[llength $text]} {incr x} {      if {[string length [join [lrange $text $curpos $x]]]&gt;400} {         lappend curout [join [lrange $text $curpos [expr {$x-1}]]]         set curpos $x      }   }   if {$curpos!=[expr {[llength $text]-1}]} {lappend curout [join [lrange $text $curpos end]]}   set curout}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5191">avilon</a> — Fri Sep 30, 2005 5:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ranny]]></name></author>
		<updated>2005-09-30T15:51:25-04:00</updated>

		<published>2005-09-30T15:51:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56234#p56234</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56234#p56234"/>
		<title type="html"><![CDATA[rehash error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56234#p56234"><![CDATA[
Hello,<br><br>I've a script test where missing " and the egg write on the channel <blockquote class="uncited"><div>[21:34:40] ( mybot ): missing "<br>[21:34:41] ( mybot): invalid command name "::errorInfo" | while executing | "::errorInfo {} write" | while compiling | "putquick "privmsg #toto :pol | "<br>[21:34:42] ( mybot ): missing "<br>[21:34:44] ( mybot ): invalid command name "::errorInfo" | while executing | "::errorInfo {} write" | (compiling body of proc "test", line 3)<br>[21:34:47] (mybot): missing "<br>[21:34:49] ( mybot ): invalid command name "::errorInfo" | while executing | "::errorInfo {} write" | while executing | "test $_pub1 $_pub2 $_pub3 $_pub4 $_pub5"</div></blockquote>I've just this code <div class="codebox"><p>Code: </p><pre><code>trace add variable ::errorInfo write {putserv "PRIVMSG #yeah :[string map {\n " | "} $::errorInfo]"}</code></pre></div>How make for just write on the channel <blockquote class="uncited"><div>tlc error:missing " of proc "test"</div></blockquote> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_question.gif" width="15" height="15" alt=":?:" title="Question"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6386">ranny</a> — Fri Sep 30, 2005 3:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-09-30T13:56:15-04:00</updated>

		<published>2005-09-30T13:56:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56230#p56230</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56230#p56230"/>
		<title type="html"><![CDATA[rehash error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56230#p56230"><![CDATA[
follow the 2nd suggestion of my 1st post here. this will send the statement where the error occurs plus a full traceback how it was called. however the line will be cut so the full line is only 512byte (including \r\n)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri Sep 30, 2005 1:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ranny]]></name></author>
		<updated>2005-09-30T12:15:41-04:00</updated>

		<published>2005-09-30T12:15:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56229#p56229</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56229#p56229"/>
		<title type="html"><![CDATA[rehash error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56229#p56229"><![CDATA[
hello,<br><br>I've restart and it's ok.Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"> <br>Another question: It's possible to write the name of the proc where there's a error <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_question.gif" width="15" height="15" alt=":?:" title="Question"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6386">ranny</a> — Fri Sep 30, 2005 12:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-09-30T11:55:04-04:00</updated>

		<published>2005-09-30T11:55:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56228#p56228</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56228#p56228"/>
		<title type="html"><![CDATA[rehash error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56228#p56228"><![CDATA[
if the var changes several times, several diffrent errors occured ^-^. no way to find out the "last" error, since every single error is at the moment it occurs the "last one".<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri Sep 30, 2005 11:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ranny]]></name></author>
		<updated>2005-09-30T09:11:50-04:00</updated>

		<published>2005-09-30T09:11:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56226#p56226</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56226#p56226"/>
		<title type="html"><![CDATA[rehash error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56226#p56226"><![CDATA[
Yes thanks, it works.<br><br>But egg write several error message and several times.How write just last message error??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6386">ranny</a> — Fri Sep 30, 2005 9:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-09-29T15:40:37-04:00</updated>

		<published>2005-09-29T15:40:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56197#p56197</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56197#p56197"/>
		<title type="html"><![CDATA[rehash error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56197#p56197"><![CDATA[
run it on party line.<br>however i would suggest to use [lindex [split $::errorInfo \n] 0] within the puthelp argument to avoid your bot from sending invalid IRC commands to the server. You could also use [string map {\n " | "} $::errorInfo] or something like that, but that print loong lines without any proper formatation <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=2382">De Kus</a> — Thu Sep 29, 2005 3:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ranny]]></name></author>
		<updated>2005-09-29T15:15:55-04:00</updated>

		<published>2005-09-29T15:15:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56196#p56196</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56196#p56196"/>
		<title type="html"><![CDATA[rehash error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56196#p56196"><![CDATA[
hum thanks avilon,<br><br>but how use that?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6386">ranny</a> — Thu Sep 29, 2005 3:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[avilon]]></name></author>
		<updated>2005-09-29T14:27:40-04:00</updated>

		<published>2005-09-29T14:27:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56195#p56195</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56195#p56195"/>
		<title type="html"><![CDATA[rehash error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56195#p56195"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>trace add variable ::errorInfo write {puthelp "PRIVMSG #YOURCHANNEL :TCL ERROR: $::errorInfo";#}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5191">avilon</a> — Thu Sep 29, 2005 2:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ranny]]></name></author>
		<updated>2005-09-29T13:45:43-04:00</updated>

		<published>2005-09-29T13:45:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56194#p56194</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56194#p56194"/>
		<title type="html"><![CDATA[rehash error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56194#p56194"><![CDATA[
hello<br><br>i looking for a script that when it's a error message when rehash, egg write it on the channel.<br><br>It's possible??<br>thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6386">ranny</a> — Thu Sep 29, 2005 1:45 pm</p><hr />
]]></content>
	</entry>
	</feed>
