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

	<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-12-06T11:41:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2003-12-06T11:41:18-04:00</updated>

		<published>2003-12-06T11:41:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31126#p31126</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31126#p31126"/>
		<title type="html"><![CDATA[My bot has lag, when I loaded a script. Why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31126#p31126"><![CDATA[
Thx user, but I found the error in my code...<br><div class="codebox"><p>Code: </p><pre><code>if {[string match "[join [lrange [split $tmp +] 0 0]]" "$mask"] || \    [string match "[join [lrange [split $tmp +] 1 1]]" "$mask"]} {    return "a [join [lrange [split $tmp +] 5 end]]"; close $chkm}</code></pre></div>As you can see the bot open A LOT of channels, because it first returns and after it closes the file <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2661">cerberus_gr</a> — Sat Dec 06, 2003 11:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-12-05T05:01:09-04:00</updated>

		<published>2003-12-05T05:01:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31095#p31095</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31095#p31095"/>
		<title type="html"><![CDATA[My bot has lag, when I loaded a script. Why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31095#p31095"><![CDATA[
The default ctcp replies use the help queue, so they're the last thing sent out. In other words this "lag" doesn't mean your bot is lagged, but that it's got alot of other stuff to send to the server before your ctcp ping reply is sent <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>Either change the way your scripts do output or make your own ctcp ping reply that use 'putquick' (with the '-next' option?) to ensure it's sent as fast as possible.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri Dec 05, 2003 5:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2003-12-05T00:46:14-04:00</updated>

		<published>2003-12-05T00:46:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31090#p31090</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31090#p31090"/>
		<title type="html"><![CDATA[My bot has lag, when I loaded a script. Why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31090#p31090"><![CDATA[
Hello, <br><br>I have written a tcl script and after that I loaded it to the bot it has lag. This happens only sometimes as you can see below:<br><br>[06:25:37] -&gt; [MyBot] PING<br>[06:25:38] &lt;MyBot&gt; [06:31] CTCP PING: 1070598337 from mynick (identd@host)<br>PING reply from MyBot is 2 secs<br><br>[06:25:41] -&gt; [MyBot] PING<br>[06:25:42] &lt;MyBot&gt; [06:31] CTCP PING: 1070598341 from mynick (identd@host)<br>PING reply from MyBot is 1 secs<br><br>[<strong class="text-strong">06:25:48</strong>] -&gt; [MyBot] PING<br>[<strong class="text-strong">06:25:49</strong>] &lt;MyBot&gt; [06:31] CTCP PING: 1070598348 from mynick (identd@host)<br>PING reply from MyBot is <strong class="text-strong">60</strong> secs<br><br>[06:28:02] -&gt; [MyBot] PING<br>[06:28:04] &lt;MyBot&gt; [06:33] CTCP PING: 1070598482 from mynick (identd@host)<br>PING reply from MyBot is 4 secs<br><br>(see also the time for my irc client).<br><br>Two days ago my bot had 5+ minutes lag.<br><br><strong class="text-strong">Is there any common mistake, which could make the bot to have such a lag??</strong> Does this happen because I use putquick command? What else would be wrong?<br><br><br>P.S. This happens both in my 2 eggdrops and in all users (my irc client is ok) <br>P.S.2. Both eggdrops "echoes" that I have pinged them after 1-2 sec, but both of them replys to me after 1+ min (sometimes)<br>P.S.3. This doesn't happen only in ctcps but in msgs and other types too.<br>P.S.4. I'm not 100% sure that my tcl has an error.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2661">cerberus_gr</a> — Fri Dec 05, 2003 12:46 am</p><hr />
]]></content>
	</entry>
	</feed>
