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

	<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>2004-02-12T20:37:37-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Dedan]]></name></author>
		<updated>2004-02-12T20:37:37-04:00</updated>

		<published>2004-02-12T20:37:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33545#p33545</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33545#p33545"/>
		<title type="html"><![CDATA[killtimers]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33545#p33545"><![CDATA[
user wrote:<blockquote class="uncited"><div>foreach u [utimers] { <br>  # here [lindex $u 1] is the command to be performed <br>  # and [lindex $u 2] is the timer ID <br>}</div></blockquote>in the following code , wouldn't [lindex $u 2] be $nick?<br><div class="codebox"><p>Code: </p><pre><code>utimer $av_time [list av:voice $nick $chan] </code></pre></div>so where is the 'timer id" in this list?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3472">Dedan</a> — Thu Feb 12, 2004 8:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-09-11T10:32:32-04:00</updated>

		<published>2003-09-11T10:32:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26956#p26956</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26956#p26956"/>
		<title type="html"><![CDATA[killtimers]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26956#p26956"><![CDATA[
<blockquote class="uncited"><div>could you expand on that please.</div></blockquote>When creating the utimer:<div class="codebox"><p>Code: </p><pre><code>set stored_timer_ID [utimer 10 [list do stuff]]</code></pre></div>Using 'utimers':<div class="codebox"><p>Code: </p><pre><code>foreach u [utimers] {  # here [lindex $u 1] is the command to be performed  # and [lindex $u 2] is the timer ID}</code></pre></div>But maybe you're not asking the right question? How about not starting any new timers if you're rehashing? Just set a global variable in your script and check if it exists before creating the timers.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Sep 11, 2003 10:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dedan]]></name></author>
		<updated>2003-09-11T08:11:52-04:00</updated>

		<published>2003-09-11T08:11:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26951#p26951</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26951#p26951"/>
		<title type="html"><![CDATA[killtimers]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26951#p26951"><![CDATA[
could you expand on that please.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3472">Dedan</a> — Thu Sep 11, 2003 8:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-09-11T13:19:15-04:00</updated>

		<published>2003-09-11T07:47:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26949#p26949</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26949#p26949"/>
		<title type="html"><![CDATA[Re: killtimers]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26949#p26949"><![CDATA[
<blockquote class="uncited"><div>The process to get the timer "id" is vague to me</div></blockquote>You have two options:<br>1) store the timer id returned by 'timer'/'utimer' when the timer is created.<br>2) search through the list returned by 'timers'/'utimers'<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Sep 11, 2003 7:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dedan]]></name></author>
		<updated>2003-09-11T07:17:46-04:00</updated>

		<published>2003-09-11T07:17:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26948#p26948</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26948#p26948"/>
		<title type="html"><![CDATA[killtimers]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26948#p26948"><![CDATA[
I need to kill timers when a ".rehash' command is called.<br><br>I have read the manuals and searched some scripts.<br>but i am not clearly understanding the format.<br><br>The process to get the timer "id" is vague to me<br><br><br>my timers are:<br><br>utimer $av_time [list av:voice $nick $chan]<br><br>utimer $bnj_limit {incr bnj_ctr -1}<br><br>utimer 9 {set bnj_mode 1}<br><br><br>Thanks for any help given.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3472">Dedan</a> — Thu Sep 11, 2003 7:17 am</p><hr />
]]></content>
	</entry>
	</feed>
