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

	<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>2007-08-30T06:22:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2007-08-30T06:22:04-04:00</updated>

		<published>2007-08-30T06:22:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75563#p75563</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75563#p75563"/>
		<title type="html"><![CDATA[about timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75563#p75563"><![CDATA[
fixed thnx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Thu Aug 30, 2007 6:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-08-07T20:15:40-04:00</updated>

		<published>2007-08-07T20:15:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75142#p75142</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75142#p75142"/>
		<title type="html"><![CDATA[about timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75142#p75142"><![CDATA[
<blockquote class="uncited"><div>yes i want to run the proc DELETE always afte 5 minites like..<br><br><br>timer 5 DELETE <br><br>something like that?</div></blockquote>Then you need something like this:<br><div class="codebox"><p>Code: </p><pre><code>timer 5 [list delete $args]proc delete {args} {  #do your stuff here    ###  #call timer to repeat execution  timer 5 [list delete $args]}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Aug 07, 2007 8:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-08-07T14:38:38-04:00</updated>

		<published>2007-08-07T14:38:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75135#p75135</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75135#p75135"/>
		<title type="html"><![CDATA[about timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75135#p75135"><![CDATA[
nml375 already made it clear that a timer will call the procedure only ONCE after n minutes. It is up to you to call the timer again inside your procedure each time it's called.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Aug 07, 2007 2:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2007-08-07T13:47:38-04:00</updated>

		<published>2007-08-07T13:47:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75133#p75133</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75133#p75133"/>
		<title type="html"><![CDATA[about timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75133#p75133"><![CDATA[
yes i want to run the proc DELETE always afte 5 minites like..<br><br><br>timer 5 DELETE <br><br>something like that?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Tue Aug 07, 2007 1:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-08-06T11:43:03-04:00</updated>

		<published>2007-08-06T11:43:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75084#p75084</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75084#p75084"/>
		<title type="html"><![CDATA[about timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75084#p75084"><![CDATA[
<em class="text-italics">timer</em> and <em class="text-italics">utimer</em> delays the execution of a command by the time you specify (<em class="text-italics">timer</em> delays n minutes, while <em class="text-italics">utimer</em> delays n seconds).<br>Neither timer or utimer will repeat the command, bur simply execute it once after the specified delay, and they do not block execution of code while "counting down".<br><br>In your case, <div class="codebox"><p>Code: </p><pre><code>utimer 5 Delete</code></pre></div> would cause your script to execute the command Delete after 5 seconds.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Aug 06, 2007 11:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2007-08-06T07:45:37-04:00</updated>

		<published>2007-08-06T07:45:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75081#p75081</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75081#p75081"/>
		<title type="html"><![CDATA[about timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75081#p75081"><![CDATA[
because i am confused..<br><br>i want after 5 minites one proc run..<br><br>#procname : Delete<br><br>proc Delete<br>............<br>.....<br><br>utimer 5 Delete.. (and after 5 minites "Delete" is running)<br><br>something like that.. ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Mon Aug 06, 2007 7:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-07-30T16:01:25-04:00</updated>

		<published>2007-07-30T16:01:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74856#p74856</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74856#p74856"/>
		<title type="html"><![CDATA[about timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74856#p74856"><![CDATA[
<a href="http://forum.egghelp.org/viewtopic.php?t=9941" class="postlink">Timers (Searching, killing, using time binds)</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Jul 30, 2007 4:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2007-07-30T13:22:14-04:00</updated>

		<published>2007-07-30T13:22:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74850#p74850</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74850#p74850"/>
		<title type="html"><![CDATA[about timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74850#p74850"><![CDATA[
Either use bind time:<br><div class="codebox"><p>Code: </p><pre><code>bind time {?0 * * * *} myprocbind time {?5 * * * *} myprocproc myproc {min hour day month year} {  # do my stuff here}</code></pre></div>Or just keep setting a timer:<div class="codebox"><p>Code: </p><pre><code>timer 5 [list myproc ?proc arguments?]proc myproc {?proc arguments?} {  # do my stuff here  timer 5 [list myproc ?proc arguments?]}</code></pre></div>Hope this helps!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Mon Jul 30, 2007 1:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-07-30T13:20:51-04:00</updated>

		<published>2007-07-30T13:20:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74849#p74849</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74849#p74849"/>
		<title type="html"><![CDATA[about timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74849#p74849"><![CDATA[
Either use a time-binding, or make a call to the timer command from within your proc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Jul 30, 2007 1:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2007-07-30T13:16:27-04:00</updated>

		<published>2007-07-30T13:16:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74848#p74848</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74848#p74848"/>
		<title type="html"><![CDATA[about timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74848#p74848"><![CDATA[
hello .. how i can put timer command on tcl script.. i want every 5 minites to run one variable.. etc..<br><div class="codebox"><p>Code: </p><pre><code>proc testtimer 5 timer ?</code></pre></div>how i can do this?<br><br>thanks you<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Mon Jul 30, 2007 1:16 pm</p><hr />
]]></content>
	</entry>
	</feed>
