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

	<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>2010-05-08T23:17:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2010-05-08T23:17:55-04:00</updated>

		<published>2010-05-08T23:17:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93063#p93063</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93063#p93063"/>
		<title type="html"><![CDATA[aidle.tcl by slennox]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93063#p93063"><![CDATA[
Hi it's been long I am out of touch with TCL but need some help from you guys, I am trying to use this aidle script it send msgs randomly from the list but I want it to send text 1 by 1 instead of randomly, it should play in series by the time I set.<br><br>like Text 1 goes first then Text 2 then Text n ..<br><div class="codebox"><p>Code: </p><pre><code># aidle.tcl v1.1 (28 March 1999) by slennox &lt;slenny@ozemail.com.au&gt;# Latest versions can be found at www.ozemail.com.au/~slenny/eggdrop/## Basic anti-idle script, sends random msg's to the specified channel at# random time intervals.## v1.0 - Initial release# v1.1 - Stremlined startup timer check, added +1 to utimer# Channel to send anti-idle messages toset ai_chan "#mychannel"# Maximum time interval between messages (in minutes)set ai_time 60# Messages to sendset ai_msgs {  "*yawn*"  "*sigh*"  "*chuckle*"  "afk"  "anyone awake?"  "anyone here?"  "anyway"  "argh"  "bbiam"  "la la la"  "blah"  "bleh"  "brb"  "damn"  "gawd"  "haha"  "hahahaha"  "heh"  "hehe"  "hehehe"  "hello"  "hi"  "hey"  "ic"  "idiot"  "rofl"}# Don't edit anything below unless you know what you're doingproc ai_start {} {  global ai_time  if {[string match *ai_sendmsg* [timers]]} {return 0}  timer [expr [rand $ai_time] + 1] ai_sendmsg}proc ai_sendmsg {} {  global botnick ai_chan ai_msgs ai_time  if {[validchan $ai_chan] &amp;&amp; [onchan $botnick $ai_chan]} {    puthelp "PRIVMSG $ai_chan :[lindex $ai_msgs [rand [llength $ai_msgs]]]"  }  timer [expr [rand $ai_time] + 1] ai_sendmsg}set ai_chan [string tolower $ai_chan]ai_startputlog "Loaded aidle.tcl v1.1 by slennox"</code></pre></div>Thank You.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Sat May 08, 2010 11:17 pm</p><hr />
]]></content>
	</entry>
	</feed>
