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

	<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-09-09T14:41:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-09-09T14:41:24-04:00</updated>

		<published>2003-09-09T14:41:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26823#p26823</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26823#p26823"/>
		<title type="html"><![CDATA[Re: weird timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26823#p26823"><![CDATA[
<blockquote class="uncited"><div>Well, I put timer on 10 for 10 minutes<br>yesterday for the whole day it worked fine<br>now it started to be every minute<br>timer 10 [list starta $chan]</div></blockquote>  Sounds like someone has been .rehash'ing quite a bit then...<br>when rehashing and dealing with timers, it's always prudent to have code similar to the following:<br><div class="codebox"><p>Code: </p><pre><code>if {![info exists mytimercall]} {  timer 10 [list starta $chan]  set mytimercall 1}</code></pre></div>(Note: You could alternatively use the command <strong class="text-strong">lsearch</strong> with command <strong class="text-strong">timers</strong>, but imo that's more work than is needed)<br><br>This check is needed, because remember when you <em class="text-italics">rehash</em>, the bot loads all the scripts <strong class="text-strong">ontop</strong> of what has already been loaded, as opposed to <em class="text-italics">restart</em> which unloads (so to speak) the scripts first, and loads them up fresh.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue Sep 09, 2003 2:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Snapple]]></name></author>
		<updated>2003-09-09T12:20:44-04:00</updated>

		<published>2003-09-09T12:20:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26815#p26815</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26815#p26815"/>
		<title type="html"><![CDATA[weird timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26815#p26815"><![CDATA[
Well, I put timer on 10 for 10 minutes<br>yesterday for the whole day it worked fine<br>now it started to be every minute<br>timer 10 [list starta $chan]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3524">Snapple</a> — Tue Sep 09, 2003 12:20 pm</p><hr />
]]></content>
	</entry>
	</feed>
