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

	<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>2004-03-28T14:30:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-03-28T14:30:42-04:00</updated>

		<published>2004-03-28T14:30:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35018#p35018</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35018#p35018"/>
		<title type="html"><![CDATA[bind timer script dont work in many channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35018#p35018"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>bind time - "00 * * * *" msgmode bind time - "?5 * * * *" msgmode</code></pre></div></div></blockquote><div class="codebox"><p>Code: </p><pre><code>bind time - "?0 * * * *" msgmode bind time - "?5 * * * *" msgmode</code></pre></div> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"></div></blockquote><div class="codebox"><p>Code: </p><pre><code>bind time - "?0*" msgmode bind time - "?5*" msgmode</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun Mar 28, 2004 2:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-03-28T04:49:21-04:00</updated>

		<published>2004-03-28T04:49:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35013#p35013</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35013#p35013"/>
		<title type="html"><![CDATA[bind timer script dont work in many channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35013#p35013"><![CDATA[
Oups..  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> forgot to place an "?" there <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=187">caesar</a> — Sun Mar 28, 2004 4:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-03-28T04:09:56-04:00</updated>

		<published>2004-03-28T04:09:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35012#p35012</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35012#p35012"/>
		<title type="html"><![CDATA[bind timer script dont work in many channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35012#p35012"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>bind time - "00 * * * *" msgmode bind time - "?5 * * * *" msgmode</code></pre></div></div></blockquote><div class="codebox"><p>Code: </p><pre><code>bind time - "?0 * * * *" msgmode bind time - "?5 * * * *" msgmode</code></pre></div> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Sun Mar 28, 2004 4:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-03-28T03:07:45-04:00</updated>

		<published>2004-03-28T03:07:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35011#p35011</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35011#p35011"/>
		<title type="html"><![CDATA[bind timer script dont work in many channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35011#p35011"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind time - "00 * * * *" msgmode bind time - "?5 * * * *" msgmode</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Mar 28, 2004 3:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sever]]></name></author>
		<updated>2004-03-27T23:29:08-04:00</updated>

		<published>2004-03-27T23:29:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35010#p35010</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35010#p35010"/>
		<title type="html"><![CDATA[bind timer script dont work in many channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35010#p35010"><![CDATA[
<blockquote class="uncited"><div>set msgchans "#sever #sauger"<br>set msgtext "test" <br><br>bind time - "00 * * * *" msgmode <br>bind time - "05 * * * *" msgmode <br>bind time - "10 * * * *" msgmode <br>bind time - "15 * * * *" msgmode <br>bind time - "20 * * * *" msgmode <br>bind time - "25 * * * *" msgmode <br>bind time - "30 * * * *" msgmode <br>bind time - "35 * * * *" msgmode <br>bind time - "40 * * * *" msgmode <br>bind time - "45 * * * *" msgmode <br>bind time - "50 * * * *" msgmode <br>bind time - "55 * * * *" msgmode <br><br>proc msgmode {min hour day month year} { <br>global msgtext msgchans<br>foreach chan [split $msgchans] { <br>  putserv "PRIVMSG $chan :$::msgtext" <br> } <br>}</div></blockquote>work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>thx 4 help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4755">sever</a> — Sat Mar 27, 2004 11:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-03-27T22:43:50-04:00</updated>

		<published>2004-03-27T22:43:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35009#p35009</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35009#p35009"/>
		<title type="html"><![CDATA[bind timer script dont work in many channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35009#p35009"><![CDATA[
You've global'd the wrong variable... you would have been getting that error in the previous code you posted as well.<br><br>Also, I didn't say use both the "comma" method and the "loop" method... I said the "loop" method is better and safer than the "comma" method.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sat Mar 27, 2004 10:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sever]]></name></author>
		<updated>2004-03-27T22:40:13-04:00</updated>

		<published>2004-03-27T22:40:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35008#p35008</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35008#p35008"/>
		<title type="html"><![CDATA[bind timer script dont work in many channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35008#p35008"><![CDATA[
<blockquote class="uncited"><div>putlog "Script loaded: test"<br><br>set msgchans "#sever,#sauger"<br>set msgtext "test"<br><br>bind time - "00 * * * *" msgmode <br>bind time - "05 * * * *" msgmode <br>bind time - "10 * * * *" msgmode <br>bind time - "15 * * * *" msgmode <br>bind time - "20 * * * *" msgmode <br>bind time - "25 * * * *" msgmode <br>bind time - "30 * * * *" msgmode <br>bind time - "35 * * * *" msgmode <br>bind time - "40 * * * *" msgmode <br>bind time - "45 * * * *" msgmode <br>bind time - "50 * * * *" msgmode <br>bind time - "55 * * * *" msgmode<br><br>proc msgmode {min hour day month year} { <br>global msgtext<br>foreach chan [split $msgchans] {<br>  putserv "PRIVMSG $chan :$::msgtext" <br> }<br>}</div></blockquote>doesnt work! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>Tcl error [msgmode]: can't read "msgchans": no such variable<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4755">sever</a> — Sat Mar 27, 2004 10:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-03-27T21:18:04-04:00</updated>

		<published>2004-03-27T21:18:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35006#p35006</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35006#p35006"/>
		<title type="html"><![CDATA[Re: bind timer script dont work in many channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35006#p35006"><![CDATA[
<blockquote class="uncited"><div>hi, i have a problem.<br><br>that is my script<br><blockquote class="uncited"><div>set msgchans "#sever #sauger"<br>set msgtext "test"<br><br>bind time - "00 * * * *" msgmode <br>bind time - "05 * * * *" msgmode <br>bind time - "10 * * * *" msgmode <br>bind time - "15 * * * *" msgmode <br>bind time - "20 * * * *" msgmode <br>bind time - "25 * * * *" msgmode <br>bind time - "30 * * * *" msgmode <br>bind time - "35 * * * *" msgmode <br>bind time - "40 * * * *" msgmode <br>bind time - "45 * * * *" msgmode <br>bind time - "50 * * * *" msgmode <br>bind time - "55 * * * *" msgmode<br><br>proc msgmode {min hour day month year} { <br>     global msgtext <br> putserv "PRIVMSG $msgchans :$::msgtext"<br> }</div></blockquote>i need the script in more than one channels.</div></blockquote>This is because the IRC protocol does not work how you want it to...<br><br>Some IRCD's allow targets seperated by commas....<br>ie<div class="codebox"><p>Code: </p><pre><code>set msgchans "#chan1,#chan2"</code></pre></div>But to be safer from flood exemptions, and ircd's that don't support targets seperated by commas, you will need to walk through a list (ie. <em class="text-italics">loop</em>)....<br><div class="codebox"><p>Code: </p><pre><code>foreach chan [split $msgchans] {  putserv "PRIVMSG $chan :$::msgtext"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sat Mar 27, 2004 9:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sever]]></name></author>
		<updated>2004-03-27T20:07:45-04:00</updated>

		<published>2004-03-27T20:07:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35002#p35002</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35002#p35002"/>
		<title type="html"><![CDATA[bind timer script dont work in many channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35002#p35002"><![CDATA[
hi, i have a problem.<br><br>that is my script<br><blockquote class="uncited"><div>set msgchans "#sever #sauger"<br>set msgtext "test"<br><br>bind time - "00 * * * *" msgmode <br>bind time - "05 * * * *" msgmode <br>bind time - "10 * * * *" msgmode <br>bind time - "15 * * * *" msgmode <br>bind time - "20 * * * *" msgmode <br>bind time - "25 * * * *" msgmode <br>bind time - "30 * * * *" msgmode <br>bind time - "35 * * * *" msgmode <br>bind time - "40 * * * *" msgmode <br>bind time - "45 * * * *" msgmode <br>bind time - "50 * * * *" msgmode <br>bind time - "55 * * * *" msgmode<br><br>proc msgmode {min hour day month year} { <br>     global msgtext <br> putserv "PRIVMSG $msgchans :$::msgtext"<br> }</div></blockquote>i need the script in more than one channels.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4755">sever</a> — Sat Mar 27, 2004 8:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
