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

	<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-06-10T12:35:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-06-10T12:35:13-04:00</updated>

		<published>2005-06-10T12:35:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50534#p50534</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50534#p50534"/>
		<title type="html"><![CDATA[HELP!! auto message code]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50534#p50534"><![CDATA[
You might want to tweak it a bit, so you won't have several timers runnin when you rehash:<div class="codebox"><p>Code: </p><pre><code>#Set the channel for this script to work on set my_channel "#channel" #Set the list of messages you want to display randomly set my_list { { I am away } { Don't bother me. } { Go away } { Be back later } { Gone for dinner! } } #Set the interval delay of each message in minutes set my_timer "5" proc send:message {} {  global my_list my_channel my_timer   putserv "PRIVMSG $my_channel :[lindex $my_list [rand [llength $my_list]]]"   timer $my_timer send:message } if {[timerexists send:message]!=""} { killtimer [timerexists send:message] }timer $my_timer send:message</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jun 10, 2005 12:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[inxs]]></name></author>
		<updated>2005-06-10T11:46:03-04:00</updated>

		<published>2005-06-10T11:46:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50529#p50529</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50529#p50529"/>
		<title type="html"><![CDATA[HELP!! auto message code]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50529#p50529"><![CDATA[
thx, awyeah<br>coz i want each lines to read within 5minutes.. line by line in 5minutes<br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6332">inxs</a> — Fri Jun 10, 2005 11:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-06-10T06:27:37-04:00</updated>

		<published>2005-06-10T06:27:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50523#p50523</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50523#p50523"/>
		<title type="html"><![CDATA[HELP!! auto message code]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50523#p50523"><![CDATA[
Why do you want it to read from a database? If you make list and read random replies from there it would be more easier.<br><div class="codebox"><p>Code: </p><pre><code>#Set the channel for this script to work onset my_channel "#channel"#Set the list of messages you want to display randomlyset my_list {{ I am away }{ Don't bother me. }{ Go away }{ Be back later }{ Gone for dinner! }}#Set the interval delay of each message in minutesset my_timer "5"proc send:message {} { global my_list my_channel my_timer  putserv "PRIVMSG $my_channel :[lindex $my_list [rand [llength $my_list]]]"  timer $my_timer send:message}timer $my_timer send:message</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Fri Jun 10, 2005 6:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[inxs]]></name></author>
		<updated>2005-06-10T05:40:57-04:00</updated>

		<published>2005-06-10T05:40:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50517#p50517</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50517#p50517"/>
		<title type="html"><![CDATA[HELP!! auto message code]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50517#p50517"><![CDATA[
can anyone help me out!!.. i need a code that auto message channel every 5minutes to read text from text.db.<br><br>am just a newbies so i cant do it my own  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6332">inxs</a> — Fri Jun 10, 2005 5:40 am</p><hr />
]]></content>
	</entry>
	</feed>
