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

	<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>2006-05-13T13:42:08-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-05-13T13:42:08-04:00</updated>

		<published>2006-05-13T13:42:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62981#p62981</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62981#p62981"/>
		<title type="html"><![CDATA[is it correct?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62981#p62981"><![CDATA[
oh, I didnt preconceive that. You are totally right. I wondered why you used scan to get the integer <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">. Alternately you could simply use [string trimleft $h 0] <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">. I'd guess it would be faster.<blockquote class="uncited"><div>StarZ|De_Kus ?calc 08 % 3<br>-[-RO^Bot-]- Fehler: expected integer but got "08" (looks like invalid octal number)</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat May 13, 2006 1:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-05-12T19:02:53-04:00</updated>

		<published>2006-05-12T19:02:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62971#p62971</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62971#p62971"/>
		<title type="html"><![CDATA[is it correct?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62971#p62971"><![CDATA[
Yes, but the number needs to be converted to decimal because 08 and 09 are not valid octal numbers.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri May 12, 2006 7:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-05-12T18:32:29-04:00</updated>

		<published>2006-05-12T18:32:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62967#p62967</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62967#p62967"/>
		<title type="html"><![CDATA[is it correct?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62967#p62967"><![CDATA[
which basicly does the same, since the expression will return doing nothing, if the reminder is not 0...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri May 12, 2006 6:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[honeybee]]></name></author>
		<updated>2006-05-12T13:25:55-04:00</updated>

		<published>2006-05-12T13:25:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62960#p62960</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62960#p62960"/>
		<title type="html"><![CDATA[is it correct?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62960#p62960"><![CDATA[
Thanks, i was thinking to use.<div class="codebox"><p>Code: </p><pre><code>if {[expr $hour % 3]} { return }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7174">honeybee</a> — Fri May 12, 2006 1:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-05-12T11:14:06-04:00</updated>

		<published>2006-05-12T11:14:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62959#p62959</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62959#p62959"/>
		<title type="html"><![CDATA[is it correct?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62959#p62959"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind time - "00 *" routine:checkproc routine:check {m h args} { if {[scan $h %d]%3 != 0} {return 0} # do your stuff here}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri May 12, 2006 11:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[honeybee]]></name></author>
		<updated>2006-05-12T09:41:58-04:00</updated>

		<published>2006-05-12T09:41:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62958#p62958</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62958#p62958"/>
		<title type="html"><![CDATA[is it correct?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62958#p62958"><![CDATA[
I'm trying to make a time check bind to hit routine:check proc after every 3 hours. i guess its not the correct way, btw. with current version of tcl we can directly do it instead of making bind for everyhour and checking inside the proc?<br><br>bind time - "*0 * * * *" routine:check<br>bind time - "* */3 * * *" routine:check<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7174">honeybee</a> — Fri May 12, 2006 9:41 am</p><hr />
]]></content>
	</entry>
	</feed>
