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

	<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-04-13T05:57:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-04-13T05:57:06-04:00</updated>

		<published>2005-04-13T05:57:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48079#p48079</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48079#p48079"/>
		<title type="html"><![CDATA[ping bug]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48079#p48079"><![CDATA[
then use a regsub or string map so filter \n and \r @_o. I believe a search on the forum wil help if you don't know how to use them.<br>*still hates redudant functions that are already solved by built in ones*.<br>just looking at these 10 lines of nonsense gives me the chill <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> — Wed Apr 13, 2005 5:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[the_crow]]></name></author>
		<updated>2005-04-13T05:44:51-04:00</updated>

		<published>2005-04-13T05:44:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48077#p48077</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48077#p48077"/>
		<title type="html"><![CDATA[ping bug]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48077#p48077"><![CDATA[
Oh português <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> O cleanarg é um procedure...<br><br><div class="codebox"><p>Code: </p><pre><code>proc cleanarg {arg} {  set response ""  for {set i 0} {$i &lt; [string length $arg]} {incr i} {    set char [string index $arg $i]    if {($char != "\12") &amp;&amp; ($char != "\15")} {      append response $char    }  }  return $response}</code></pre></div>tenta utilizar isso <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2778">the_crow</a> — Wed Apr 13, 2005 5:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-04-12T10:23:12-04:00</updated>

		<published>2005-04-12T10:23:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48056#p48056</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48056#p48056"/>
		<title type="html"><![CDATA[ping bug]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48056#p48056"><![CDATA[
you have to find a script with the proc cleanarg <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz">. i dont know what it does, but try to remove it and use the var name "arg" instead of "args"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Tue Apr 12, 2005 10:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jsilvestre]]></name></author>
		<updated>2005-04-12T10:06:52-04:00</updated>

		<published>2005-04-12T10:06:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48054#p48054</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48054#p48054"/>
		<title type="html"><![CDATA[ping bug]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48054#p48054"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !ping pub:pingbind ctcr - PING pub:pingrproc say {who what} {   puthelp "PRIVMSG $who :$what"}set pub_pingchan "#teste"proc pub:ping {nick uhost hand chan args} {   set args [split [cleanarg $args]]   if {[llength $args]&lt;1} {      set who $nick   } else {      set who [lindex $args 0]   }   global pub_pingchan   set time [unixtime]   say $who "\001PING $time\001"   set pub_pingchan $chan}proc pub:pingr {nick uhost hand dest keyword args} {   global pub_pingchan   set temp [unixtime]   set time [expr $temp - $args]   say $pub_pingchan "PING reply from $nick: $time seconds"}</code></pre></div><div class="codebox"><p>Code: </p><pre><code>[15:01] &lt;teste&gt; [16:04] Tcl error [pub:ping]: invalid command name "cleanarg"</code></pre></div><div class="codebox"><p>Code: </p><pre><code>[15:06] &lt;made_of_storm&gt; .set errorInfo[15:06] &lt;teste&gt; [16:08] tcl: builtin dcc call: *dcc:set made_of_storm 9 errorInfo[15:06] &lt;teste&gt; [16:08] #made_of_storm# set errorInfo[15:06] &lt;teste&gt; Currently: invalid command name "cleanarg"[15:06] &lt;teste&gt; Currently:     while executing[15:06] &lt;teste&gt; Currently: "cleanarg $args"[15:06] &lt;teste&gt; Currently:     (procedure "pub:ping" line 2)[15:06] &lt;teste&gt; Currently:     invoked from within[15:06] &lt;teste&gt; Currently: "pub:ping $_pub1 $_pub2 $_pub3 $_pub4 $_pub5"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6034">jsilvestre</a> — Tue Apr 12, 2005 10:06 am</p><hr />
]]></content>
	</entry>
	</feed>
