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

	<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-01-27T21:29:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-27T21:29:36-04:00</updated>

		<published>2006-01-27T21:29:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59806#p59806</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59806#p59806"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59806#p59806"><![CDATA[
<blockquote class="uncited"><div>[ Opposing ] .tcl bind time - * bullshit2; proc bullshit2 {m args} { if {[regexp {00|20|40} $m]} { putlog "20 minutes passed!" } }<br>...<br>...<br>...<br>[ (Bot ] [01:00] 20 minutes passed!<br>...<br>...<br>...<br>[ (Bot ] [01:20] 20 minutes passed!<br>...<br>...<br>...<br>[ (Bot ] [01:40] 20 minutes passed!<br>...<br>...<br>...<br>[ (Bot ] [02:00] 20 minutes passed!<br>...etc</div></blockquote>So the problem is not with the code, it's with you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jan 27, 2006 9:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pilouuu]]></name></author>
		<updated>2006-01-27T19:15:15-04:00</updated>

		<published>2006-01-27T19:15:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59801#p59801</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59801#p59801"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59801#p59801"><![CDATA[
what can I make?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7153">pilouuu</a> — Fri Jan 27, 2006 7:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pilouuu]]></name></author>
		<updated>2006-01-27T12:51:31-04:00</updated>

		<published>2006-01-27T12:51:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59789#p59789</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59789#p59789"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59789#p59789"><![CDATA[
sorry procedure not perfectly. The bot say only <span style="text-decoration:underline">1</span> more the msg. <br><br>:/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7153">pilouuu</a> — Fri Jan 27, 2006 12:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-26T09:59:07-04:00</updated>

		<published>2006-01-26T09:59:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59746#p59746</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59746#p59746"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59746#p59746"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set idx -1set chans {#chan #chan2}set msgs {"msg chan 1" msg chan 2"} bind time - * fouuproc fouu {m args} {   if {[regexp {00|20|40} $m]} {      foreach c $::chans {         puthelp "privmsg $c :[lindex $::msgs [incr ::idx]]"      }   }}</code></pre></div>works perfectly.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Jan 26, 2006 9:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pilouuu]]></name></author>
		<updated>2006-01-26T09:49:19-04:00</updated>

		<published>2006-01-26T09:49:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59745#p59745</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59745#p59745"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59745#p59745"><![CDATA[
it east can be possible with a timer?  <br> expl:<br><div class="codebox"><p>Code: </p><pre><code>bind time - "20 * * * *" drtimeproc drtime { min hour day month year } {</code></pre></div>thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7153">pilouuu</a> — Thu Jan 26, 2006 9:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pilouuu]]></name></author>
		<updated>2006-01-25T21:40:06-04:00</updated>

		<published>2006-01-25T21:40:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59733#p59733</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59733#p59733"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59733#p59733"><![CDATA[
the procedure is not good the bot say only 1. no repat msg <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7153">pilouuu</a> — Wed Jan 25, 2006 9:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-25T20:10:35-04:00</updated>

		<published>2006-01-25T20:10:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59730#p59730</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59730#p59730"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59730#p59730"><![CDATA[
No<div class="codebox"><p>Code: </p><pre><code>if {[regexp {00|20|40} $m]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Jan 25, 2006 8:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pilouuu]]></name></author>
		<updated>2006-01-25T20:04:16-04:00</updated>

		<published>2006-01-25T20:04:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59729#p59729</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59729#p59729"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59729#p59729"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {[regexp {4:20|4:40|5:00} $m]} {</code></pre></div><br>etc etc?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7153">pilouuu</a> — Wed Jan 25, 2006 8:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-25T19:24:26-04:00</updated>

		<published>2006-01-25T19:24:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59726#p59726</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59726#p59726"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59726#p59726"><![CDATA[
The solution I gave you works just fine. It will msg every 20 minutes (for example at 4:00 4:20 4:40 5:00 5:20...etc)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Jan 25, 2006 7:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pilouuu]]></name></author>
		<updated>2006-01-25T19:02:49-04:00</updated>

		<published>2006-01-25T19:02:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59724#p59724</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59724#p59724"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59724#p59724"><![CDATA[
No solution?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7153">pilouuu</a> — Wed Jan 25, 2006 7:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pilouuu]]></name></author>
		<updated>2006-01-25T06:10:17-04:00</updated>

		<published>2006-01-25T06:10:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59702#p59702</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59702#p59702"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59702#p59702"><![CDATA[
hi<br><br>not error detected but that does not go.<br>the bot one said the sentence right once but it repeat not<br><br><br>thank you very much of your assistance<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7153">pilouuu</a> — Wed Jan 25, 2006 6:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2006-01-24T23:49:30-04:00</updated>

		<published>2006-01-24T23:49:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59694#p59694</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59694#p59694"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59694#p59694"><![CDATA[
<blockquote class="uncited"><div>I've seen this error before but didn't figure out why exactly it occurs (maybe a bug in Tcl)</div></blockquote>no, it's not a bug<br><br>a number starting with 0 is considered octal (base eight) in Tcl, as in many other languages (most important being of course C/C++); so you don't have 8 in the octal system, eight becomes 10<br><br>so 08 or 09, passed as argument to [bind time] handler isn't valid number and can't be part of numerical expression, hence that error<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Jan 24, 2006 11:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-24T20:43:40-04:00</updated>

		<published>2006-01-24T20:43:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59682#p59682</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59682#p59682"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59682#p59682"><![CDATA[
Not always, but every hour (when $m is 00). Use this:<div class="codebox"><p>Code: </p><pre><code>if {[regexp {00|20|40} $m]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Jan 24, 2006 8:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pilouuu]]></name></author>
		<updated>2006-01-24T20:04:26-04:00</updated>

		<published>2006-01-24T20:04:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59681#p59681</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59681#p59681"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59681#p59681"><![CDATA[
[01:00] Tcl error [fouu]: can't use empty string as operand of "%"<br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> always<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7153">pilouuu</a> — Tue Jan 24, 2006 8:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-24T18:57:59-04:00</updated>

		<published>2006-01-24T18:57:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59676#p59676</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59676#p59676"/>
		<title type="html"><![CDATA[msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59676#p59676"><![CDATA[
I've seen this error before but didn't figure out why exactly it occurs (maybe a bug in Tcl), I think it occurs (sometimes) only when m is  "0?" so try:<div class="codebox"><p>Code: </p><pre><code>if {[string trimleft $m 0]%20 == 0} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Jan 24, 2006 6:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
