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

	<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>2010-05-18T20:12:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[doggo]]></name></author>
		<updated>2010-05-18T20:12:18-04:00</updated>

		<published>2010-05-18T20:12:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93124#p93124</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93124#p93124"/>
		<title type="html"><![CDATA[[SOLVED] Help with a timmer that doesnt want to work..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93124#p93124"><![CDATA[
<blockquote class="uncited"><div>Your mask is not correct.<br>It would match whenever the hour value is 1. However, single-digit values are 0-padded to 2 (4 for year) digits; that is, 1 o'clock is actually 01.<br><br>But, you should not match the hour at all, but the minutes. The minute value will match a fixed value once every hour - which is what you'll want:<br>Examples:<div class="codebox"><p>Code: </p><pre><code>#trigger every hour, on the hour:bind time - "00 * * * *" proc#trigger every hour, 15 minutes past the hour:bind time - "15 * * * *" proc#trigger every hour, 5 minutes past - more compact mask:bind time - "05 *" proc</code></pre></div></div></blockquote>Cheers nml375<br><br>i totaly see where i was messing it up now <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=11046">doggo</a> — Tue May 18, 2010 8:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-05-18T15:44:53-04:00</updated>

		<published>2010-05-18T15:44:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93117#p93117</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93117#p93117"/>
		<title type="html"><![CDATA[[SOLVED] Help with a timmer that doesnt want to work..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93117#p93117"><![CDATA[
Your mask is not correct.<br>It would match whenever the hour value is 1. However, single-digit values are 0-padded to 2 (4 for year) digits; that is, 1 o'clock is actually 01.<br><br>But, you should not match the hour at all, but the minutes. The minute value will match a fixed value once every hour - which is what you'll want:<br>Examples:<div class="codebox"><p>Code: </p><pre><code>#trigger every hour, on the hour:bind time - "00 * * * *" proc#trigger every hour, 15 minutes past the hour:bind time - "15 * * * *" proc#trigger every hour, 5 minutes past - more compact mask:bind time - "05 *" proc</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue May 18, 2010 3:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doggo]]></name></author>
		<updated>2010-05-18T20:09:49-04:00</updated>

		<published>2010-05-18T05:44:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93112#p93112</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93112#p93112"/>
		<title type="html"><![CDATA[[SOLVED] Help with a timmer that doesnt want to work..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93112#p93112"><![CDATA[
hi guys... <br><br>the script works fine with the public trigger its the time bind im having a problem with :/<br><br>i would like it to check every 60 minutes and set the limit if it needs to +10<br><br>so my question is does anyone know why the time bind wont work ? <br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- -limit SaNcTuM_limitbind time -|- "* 1 * * *" SaNcTuM_limitproc SaNcTuM_limit{min hour day month year} {    foreach chan [channels] {putlog "SaNcTuM_limit timer ok"set newlimit [expr [llength [chanlist $chan]] + 10]set currentlimit [currentlimit $chan]if {$currentlimit &lt; [expr $newlimit - 1] || $currentlimit &gt; [expr $newlimit + 1]} {    putserv "mode $chan +l $newlimit"}        }     }proc currentlimit {chan} {    set currentmodes [getchanmode $chan]    if {[string match "*l*" [lindex $currentmodes 0]]} {return [lindex $currentmodes end]     }    return 0}putlog "SaNcTuM_limit"</code></pre></div>thanks... <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=11046">doggo</a> — Tue May 18, 2010 5:44 am</p><hr />
]]></content>
	</entry>
	</feed>
