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

	<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>2005-09-17T01:52:12-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-09-17T01:52:12-04:00</updated>

		<published>2005-09-17T01:52:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55801#p55801</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55801#p55801"/>
		<title type="html"><![CDATA[auto msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55801#p55801"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set idx 0set msgs {"spam 1" "spam 2" "spam 3"}set chans(0) {#chan1 #chan2} ;# chans for msg1set chans(1) {#chan3 #chan4} ;# chans for msg2set chans(2) {#chan5 #chan6} ;# chans for msg3bind time - * fooproc foo {m args} {   if {$m!="08" &amp;&amp; $m!="09" &amp;&amp; $m%20==0} {      foreach c $::chans($::idx) {         puthelp "privmsg $c :[lindex $::msgs $::idx]"      }      if {[incr ::idx] == [llength $::msgs]} {set ::idx 0}   }} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Sep 17, 2005 1:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[minted]]></name></author>
		<updated>2005-09-17T01:24:01-04:00</updated>

		<published>2005-09-17T01:24:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55800#p55800</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55800#p55800"/>
		<title type="html"><![CDATA[auto msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55800#p55800"><![CDATA[
tnx demond, its almost what i want.<br>im not too good at explaining.<br>with that code, it sends msg1 to chan1, msg2 to chan2, etc<br>i want, msg1 to all chosen chans, msg 2 to all chosen chans, etc<br>about 20 mins between each msg.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6501">minted</a> — Sat Sep 17, 2005 1:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-09-16T23:06:30-04:00</updated>

		<published>2005-09-16T23:06:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55797#p55797</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55797#p55797"/>
		<title type="html"><![CDATA[auto msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55797#p55797"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set idx -1set chans {#chan1 #chan2 #chan3}set msgs {"spam 1" "spam 2" "spam 3"}bind time - * fooproc foo {m args} {   if {$m!="08" &amp;&amp; $m!="09" &amp;&amp; $m%20==0} {      foreach c $::chans {         puthelp "privmsg $c :[lindex $::msgs [incr ::idx]]"      }    }}</code></pre></div>this should be optimized to support ircds with multiple PRIVMSG targets but I can't be bothered with that<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Sep 16, 2005 11:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[minted]]></name></author>
		<updated>2005-09-16T18:19:27-04:00</updated>

		<published>2005-09-16T18:19:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55791#p55791</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55791#p55791"/>
		<title type="html"><![CDATA[auto msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55791#p55791"><![CDATA[
i need a lil tcl that will send preset messages to certain channels every 20 mins or so. e.g<br>bot sends msg1 to #chan1,#chan2,#chan3<br>20 mins later...<br>bot sends msg2 to #chan1,#chan2,#chan3<br>20 mins later...etc<br><br>theres similar scripts in the tcl archive, but they would all send msg1 msg2 msg3 at the same time.<br><br>i hope my explanation isnt too confusing, and tnx in advance :]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6501">minted</a> — Fri Sep 16, 2005 6:19 pm</p><hr />
]]></content>
	</entry>
	</feed>
