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

	<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-02-16T02:02:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-02-16T02:02:13-04:00</updated>

		<published>2005-02-16T02:02:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46660#p46660</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46660#p46660"/>
		<title type="html"><![CDATA[help tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46660#p46660"><![CDATA[
<a href="http://www.tcl.tk/man/tcl8.4/TclCmd/global.htm" class="postlink">http://www.tcl.tk/man/tcl8.4/TclCmd/global.htm</a><br>read and think about your code again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Feb 16, 2005 2:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tahu]]></name></author>
		<updated>2005-02-14T09:04:06-04:00</updated>

		<published>2005-02-14T09:04:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46598#p46598</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46598#p46598"/>
		<title type="html"><![CDATA[help tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46598#p46598"><![CDATA[
i write like what u say [De Kus} but the bot can executing another command. the bot stuck.<br>i wrote like this <br><br>proc mx_timer_ask {} {<br>    global botnick quizconf<br>    global Timer<br>switch $qcounter { <br>  1 {set x_ask $botnick {} {} $quizconf(quizchannel) {} } <br>  2 {set Timer [utimer 10 Question] } <br>} <br>if { [incr qcounter] &gt; 2 } { set qcounter 1 }<br><br>please give me another way . cos i'm new in this n i want learn but i dont know how to do<br>for clue i want rotate this 2 script <br>n please write with the proc<br>cos i dunno what must i write.<br>thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5983">tahu</a> — Mon Feb 14, 2005 9:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-02-12T21:42:21-04:00</updated>

		<published>2005-02-12T21:42:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46564#p46564</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46564#p46564"/>
		<title type="html"><![CDATA[help tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46564#p46564"><![CDATA[
maybe he wants to rotate like this?<div class="codebox"><p>Code: </p><pre><code>switch $qcounter {  1 {set x_ask $botnick {} {} $quizconf(quizchannel) {} }  2 {set Timer [utimer 10 Question] }}if { [incr qcounter] &gt; 2 } { set qcounter 1 }</code></pre></div>alternativly he can use [set qcounter [rand 2]] or something like this for randomize @_o.<br><br>PS: this is my last guess without detailed explainations ^^<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Feb 12, 2005 9:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2005-02-12T14:42:22-04:00</updated>

		<published>2005-02-12T14:42:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46558#p46558</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46558#p46558"/>
		<title type="html"><![CDATA[help tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46558#p46558"><![CDATA[
u mean the u timer should be random ??<br><br>try this <br><div class="codebox"><p>Code: </p><pre><code>utimer [rand 20] ...</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sat Feb 12, 2005 2:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-02-12T14:06:39-04:00</updated>

		<published>2005-02-12T14:06:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46555#p46555</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46555#p46555"/>
		<title type="html"><![CDATA[help tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46555#p46555"><![CDATA[
I dunno bout you guys but I am still confused by their Question.. Tahu Please explain properly..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Sat Feb 12, 2005 2:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tahu]]></name></author>
		<updated>2005-02-12T14:02:30-04:00</updated>

		<published>2005-02-12T14:02:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46554#p46554</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46554#p46554"/>
		<title type="html"><![CDATA[help tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46554#p46554"><![CDATA[
-set x_ask $botnick {} {} $quizconf(quizchannel) {} <br>-set Timer [utimer 10 Question] <br><br>i mean first round set x_ask<br>and the second round set timer<br> something like that. <br>thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5983">tahu</a> — Sat Feb 12, 2005 2:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-02-12T13:25:20-04:00</updated>

		<published>2005-02-12T13:25:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46552#p46552</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46552#p46552"/>
		<title type="html"><![CDATA[help tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46552#p46552"><![CDATA[
in case you want to get a random element from a list you should read:<br><a href="http://www.tcl.tk/man/tcl8.4/TclCmd/lindex.htm" class="postlink">http://www.tcl.tk/man/tcl8.4/TclCmd/lindex.htm</a><br>and<br>DOC/TCL-COMMANDS section "rand"<br><br>I didn't say RTFM, did I?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Feb 12, 2005 1:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-02-12T00:56:21-04:00</updated>

		<published>2005-02-12T00:56:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46544#p46544</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46544#p46544"/>
		<title type="html"><![CDATA[help tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46544#p46544"><![CDATA[
Randomize what exactly? All this code ever does is adding a timer that is executing another proc (Question) 10sec later.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Sat Feb 12, 2005 12:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tahu]]></name></author>
		<updated>2005-02-11T23:03:05-04:00</updated>

		<published>2005-02-11T23:03:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46543#p46543</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46543#p46543"/>
		<title type="html"><![CDATA[help tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46543#p46543"><![CDATA[
proc g_timer_ask {} {<br>    global botnick quizconf<br>    global Answers AllAnswered RoundOver NumAnswered AnswerCount QuestionTimer <br>    set x_ask $botnick {} {} $quizconf(quizchannel) {}<br>    set Timer [utimer 10 Question]<br><br>}<br><br>i want to random this but i dont know how to do<br>plz help me!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5983">tahu</a> — Fri Feb 11, 2005 11:03 pm</p><hr />
]]></content>
	</entry>
	</feed>
