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

	<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-02-18T14:34:34-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ProXy]]></name></author>
		<updated>2003-02-18T14:34:34-04:00</updated>

		<published>2003-02-18T14:34:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16759#p16759</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16759#p16759"/>
		<title type="html"><![CDATA[Killing timer...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16759#p16759"><![CDATA[
K, thx a lot I now got a solution. I check if there is a timer or not. If not, I start another...else do nothing <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=1729">ProXy</a> — Tue Feb 18, 2003 2:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-02-18T13:57:19-04:00</updated>

		<published>2003-02-18T13:57:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16758#p16758</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16758#p16758"/>
		<title type="html"><![CDATA[Killing timer...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16758#p16758"><![CDATA[
<blockquote class="uncited"><div> I wrote a script that checks the channelpeak every minute. [snip]</div></blockquote>Another alternative is not to use a timer, but to use a "bind time".<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Tue Feb 18, 2003 1:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-02-18T13:41:57-04:00</updated>

		<published>2003-02-18T13:41:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16756#p16756</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16756#p16756"/>
		<title type="html"><![CDATA[Killing timer...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16756#p16756"><![CDATA[
he asked how to kill all existing timers <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> .. so I gave him a solution .. but I agree with you, if it's not needed then don't spawn a new one <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=852">Papillon</a> — Tue Feb 18, 2003 1:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-02-18T13:38:31-04:00</updated>

		<published>2003-02-18T13:38:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16755#p16755</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16755#p16755"/>
		<title type="html"><![CDATA[Killing timer...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16755#p16755"><![CDATA[
There is a 1 issue with the code above. It kills all timers.<br><br>Each script should only take care of it's own timers, as removing them all, may cause other scripts to fail.<br><br>There are 2 alternatives.<br><br>1: Check to see if it's calling the command for this script before killing it.<br><br>2: (recomended), rather than kill the timer, simply don't spawn a new one. This prevents a needless remove and replace system, with a test and leave.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Feb 18, 2003 1:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-02-18T12:18:39-04:00</updated>

		<published>2003-02-18T12:18:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16754#p16754</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16754#p16754"/>
		<title type="html"><![CDATA[Killing timer...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16754#p16754"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>foreach t [timers] {  killtimer [lindex [split $t] end]}</code></pre></div>timers<br>    Returns: a list of active minutely timers. Each entry in the list contains<br>      the number of minutes left till activation, the command that will be<br>      executed, and the timerID.<br><br>^^ <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=852">Papillon</a> — Tue Feb 18, 2003 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ProXy]]></name></author>
		<updated>2003-02-18T11:23:36-04:00</updated>

		<published>2003-02-18T11:23:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16753#p16753</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16753#p16753"/>
		<title type="html"><![CDATA[Killing timer...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16753#p16753"><![CDATA[
Hello,<br><br>I wrote a script that checks the channelpeak every minute. Everytime I rehash my eggdrop, another timer starts. So I should kill all other timer, that were set by my script. I found the function "killtimer" but I don`t know how to check the exisiting timers, and how to kill all of them...<br><br>Could anyone please give me an example of a source that will kill all existing timers?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1729">ProXy</a> — Tue Feb 18, 2003 11:23 am</p><hr />
]]></content>
	</entry>
	</feed>
