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

	<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>2014-07-26T07:59:07-04:00</updated>

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

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2014-07-26T07:59:07-04:00</updated>

		<published>2014-07-26T07:59:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103056#p103056</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103056#p103056"/>
		<title type="html"><![CDATA[Re: How to make timer in seconds and not minutes?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103056#p103056"><![CDATA[
<blockquote class="uncited"><div><br>....<br>How do I make the timer in seconds instead of minutes  ...</div></blockquote><br>Go here:<br><a href="http://www.eggheads.org/support/egghtml/1.6.21/tcl-commands.html" class="postlink">http://www.eggheads.org/support/egghtml ... mands.html</a><br>and text search for<br>utimer<br><br><br><br>-<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sat Jul 26, 2014 7:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[daigo]]></name></author>
		<updated>2014-07-25T23:30:49-04:00</updated>

		<published>2014-07-25T23:30:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103050#p103050</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103050#p103050"/>
		<title type="html"><![CDATA[How to make timer in seconds and not minutes?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103050#p103050"><![CDATA[
Here is my script:<div class="codebox"><p>Code: </p><pre><code>set ai_chan "#daigo"set ai_time 1set ai_msgs {  "please watch your step"  "i like cookies"}proc 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]} {    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_start</code></pre></div>It says one of those 2 random messages I have in my script, at random intervals, with the minimum time lapse of 1 minute. How do I make the timer in seconds instead of minutes so that I can make the script say something at least every 30 seconds instead of at least every 1 minute?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12410">daigo</a> — Fri Jul 25, 2014 11:30 pm</p><hr />
]]></content>
	</entry>
	</feed>
