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

	<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>2007-06-04T08:31:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ganjafarmer]]></name></author>
		<updated>2007-06-04T08:31:36-04:00</updated>

		<published>2007-06-04T08:31:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73270#p73270</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73270#p73270"/>
		<title type="html"><![CDATA[Message on Timer  help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73270#p73270"><![CDATA[
how can i get this script to send the first two messages to  #chan1 and all 3 messages to #chan2  ?<br><div class="codebox"><p>Code: </p><pre><code>##### GENERAL SETTINGS ####set channel "#chan2 #chan2"set time 10set text {"text1""text2""Text3"}##### DO NOT EDIT ANYTHING BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING #####if {[string compare [string index $time 0] "!"] == 0} { set timer [string range $time 1 end] } { set timer [expr $time * 60] }if {[lsearch -glob [utimers] "* go *"] == -1} { utimer $timer go }proc go {} {global channel time text timerforeach chan $channel {foreach line $text { putserv "PRIVMSG $chan :$line" }}if {[lsearch -glob [utimers] "* go *"] == -1} { utimer $timer go }}putlog "\002Loaded Message Script\002"</code></pre></div>Example #chan1 would get the messages text1 &amp; text2 #chan2 would get messages text1, text2 &amp; Text3<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9043">ganjafarmer</a> — Mon Jun 04, 2007 8:31 am</p><hr />
]]></content>
	</entry>
	</feed>
