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

	<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>2011-01-07T02:26:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2011-01-07T02:26:57-04:00</updated>

		<published>2011-01-07T02:26:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95565#p95565</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95565#p95565"/>
		<title type="html"><![CDATA[Cycle every 15 minutes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95565#p95565"><![CDATA[
If you've got the 1.6.20 version of Eggdrop, then you could use the new "CRON" binding to achieve this:<div class="codebox"><p>Code: </p><pre><code>bind cron - {*/15 * * * *} cron:cycleproc cron:cycle {minute hour day month weekday} {channel set #channel +inactivechannel set #channel -inactive}</code></pre></div>Or if you wish to have it running in multiple channels by simplifying  set/unset ('.chanset #channel +croncycle' to activate and '.chanset #channel -croncycle' to deactivate to disable it) a flag to the channel ('croncycle' in this case, but can be changed to whatever you wish as long as isn't used already) info then something like:<div class="codebox"><p>Code: </p><pre><code>setudef flag croncyclebind cron - {*/15 * * * *} cron:cycleproc cron:cycle {minute hour day month weekday} {foreach chan [channels] {if {![channel get $chan croncycle]} continuechannel set $chan +inactivechannel set $chan -inactive}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Jan 07, 2011 2:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2011-01-06T19:12:05-04:00</updated>

		<published>2011-01-06T19:12:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95563#p95563</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95563#p95563"/>
		<title type="html"><![CDATA[Cycle every 15 minutes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95563#p95563"><![CDATA[
hmm, <br><br>'bind time' or some timer with:<div class="codebox"><p>Code: </p><pre><code>channel set $chan +inactive                                                               channel set $chan -inactive </code></pre></div>should do the work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Thu Jan 06, 2011 7:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GeneticBro]]></name></author>
		<updated>2011-01-06T10:03:15-04:00</updated>

		<published>2011-01-06T10:03:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95559#p95559</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95559#p95559"/>
		<title type="html"><![CDATA[Cycle every 15 minutes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95559#p95559"><![CDATA[
Hello,<br><br>How to make bot cycle certain channel every 15 minutes?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11481">GeneticBro</a> — Thu Jan 06, 2011 10:03 am</p><hr />
]]></content>
	</entry>
	</feed>
