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

	<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-12-21T09:21:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-12-21T09:21:46-04:00</updated>

		<published>2007-12-21T09:21:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79486#p79486</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79486#p79486"/>
		<title type="html"><![CDATA[Question regarding timers]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79486#p79486"><![CDATA[
Thanks alot that was way too easy and usefull thanks alot user <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Fri Dec 21, 2007 9:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-12-21T09:09:57-04:00</updated>

		<published>2007-12-21T09:09:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79484#p79484</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79484#p79484"/>
		<title type="html"><![CDATA[Question regarding timers]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79484#p79484"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>bind time - "* 00 * * *" test:1</code></pre></div>Ok does that mean the bot will part/join the channel every 2 hours?..</div></blockquote>Your first * means your masks will match EVERY minute when the hours match, which is pretty far from what you want <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> Here's a way to execute stuff every 2 hours with a single bind:<div class="codebox"><p>Code: </p><pre><code>bind time - "00 *" every_hourproc every_hour {m h args} {if {([scan $h %d]%2)==0} {# every 2 hours}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri Dec 21, 2007 9:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-12-21T09:01:40-04:00</updated>

		<published>2007-12-21T09:01:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79483#p79483</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79483#p79483"/>
		<title type="html"><![CDATA[Question regarding timers]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79483#p79483"><![CDATA[
Thanks FZ for the reply but I could not find anything like that, anyway I am using TimerToolz from Archive and I kill timers from DCC.<br><br>1 more question is<br><div class="codebox"><p>Code: </p><pre><code>bind time - "* 00 * * *" test:1bind time - "* 02 * * *" test:1bind time - "* 04 * * *" test:1bind time - "* 06 * * *" test:1bind time - "* 08 * * *" test:1bind time - "* 10 * * *" test:1bind time - "* 12 * * *" test:1bind time - "* 14 * * *" test:1bind time - "* 16 * * *" test:1bind time - "* 18 * * *" test:1bind time - "* 20 * * *" test:1bind time - "* 22 * * *" test:1proc test:1 {min hour day month year} {putserv "PART #Islamabad :Checking Spam."putserv "JOIN #Islamabad"}</code></pre></div>Ok does that mean the bot will part/join the channel every 2 hours?.. please tell me about that.<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Fri Dec 21, 2007 9:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-12-20T11:33:34-04:00</updated>

		<published>2007-12-20T11:33:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79464#p79464</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79464#p79464"/>
		<title type="html"><![CDATA[Question regarding timers]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79464#p79464"><![CDATA[
Try <a href="http://forum.egghelp.org/search.php" class="postlink">searching</a> the forum, this has been discussed many times.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Dec 20, 2007 11:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-12-20T03:13:27-04:00</updated>

		<published>2007-12-20T03:13:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79459#p79459</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79459#p79459"/>
		<title type="html"><![CDATA[Question regarding timers]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79459#p79459"><![CDATA[
Exactly, the timer mismatch at times.. could you tell me how do I find out whether it's running multiple times or not..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Thu Dec 20, 2007 3:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-12-19T12:49:42-04:00</updated>

		<published>2007-12-19T12:49:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79444#p79444</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79444#p79444"/>
		<title type="html"><![CDATA[Question regarding timers]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79444#p79444"><![CDATA[
That piece of code looks just fine. There is no need to try and terminate the timer that triggered the proc, as it is/will be terminated anyway as part of the execution.<br><br>The only thing worth noting, is that if you load this script multiple times, you'll end up with multiple timers (might be a good idea to check wether there is a timer running before starting a new one <strong class="text-strong">from outside</strong> the proc).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Dec 19, 2007 12:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-12-19T10:18:58-04:00</updated>

		<published>2007-12-19T10:18:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79437#p79437</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79437#p79437"/>
		<title type="html"><![CDATA[Question regarding timers]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79437#p79437"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>timer 58 topic:resetproc topic:reset {} {putserv "TOPIC #Islamabad :Resynching ..."putserv "TOPIC #Islamabad :Welcome to #islamabad the capital city of PAKISTAN \00303,15 \00315,3 (* \003 , Live Cricket Commentary is in #Cricket"timer 58 topic:reset}</code></pre></div>If i am using a timer in one of my tcl and i dont kill the timer by the end of the code what are the disadvantages of it? what problems can it generate? and can I use multiple timers? if yes then please explain how.<br><br>Thanks<br>iamdeath<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Wed Dec 19, 2007 10:18 am</p><hr />
]]></content>
	</entry>
	</feed>
