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

	<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>2004-11-30T05:11:56-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nickname]]></name></author>
		<updated>2004-11-30T05:11:56-04:00</updated>

		<published>2004-11-30T05:11:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43299#p43299</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43299#p43299"/>
		<title type="html"><![CDATA[trouble with scramble tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43299#p43299"><![CDATA[
<blockquote class="uncited"><div>It may not be free, but it's still coded far better than what ya got goin there  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"></div></blockquote>I thought this forum is used to help people that having trouble<br>not flame other people' code  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5714">nickname</a> — Tue Nov 30, 2004 5:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2004-11-29T00:21:31-04:00</updated>

		<published>2004-11-29T00:21:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43235#p43235</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43235#p43235"/>
		<title type="html"><![CDATA[trouble with scramble tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43235#p43235"><![CDATA[
It may not be free, but it's still coded far better than what ya got goin there  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Mon Nov 29, 2004 12:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nickname]]></name></author>
		<updated>2004-11-28T22:46:42-04:00</updated>

		<published>2004-11-28T22:46:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43230#p43230</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43230#p43230"/>
		<title type="html"><![CDATA[trouble with scramble tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43230#p43230"><![CDATA[
this's for set the question and answer<blockquote class="uncited"><div>set game(questions) ""<br><br>if {[file exists $game(file)]} {<br><br> set fileid [open $game(file) r]<br><br> while {![eof $fileid]} {<br><br>  gets $fileid game(temp)<br><br>  if {$game(temp) != ""} {<br><br>   lappend game(questions) $game(temp)<br><br>  }<br><br> }<br><br> close $fileid<br><br>proc xrange {xr xr1 xr2} {<br><br> return [join [lrange [split $xr] $xr1 $xr2]]<br><br>}<br><br><br>proc xindex {xr xr1} {<br><br> return [join [lrange [split $xr] $xr1 $xr1]]<br><br>}<br></div></blockquote>this's to show whether the user is correct<blockquote class="uncited"><div>    foreach game(temp) $game(answers) {<br><br>     if {((!$game(type)) &amp;&amp; ($guess == [string tolower $game(answers)])) || (($game(type) == 1) &amp;&amp; ([string match [string tolower $game(temp)] $guess]))} {<br><br>      if {$game(team)} {<br><br>       foreach game(temp) [array names game_players] {<br><br>        if {[lsearch -exact [string tolower $game_players($game(temp))] [string tolower $nick]] != -1} {<br><br>         incr game_teams($game(temp))<br><br>         putserv "PRIVMSG $chan :$nick \[team $game(temp)\] is correct! ($guess)"<br><br>        }<br><br>       }<br><br>      } <br>}</div></blockquote>my problem here is the bot doesn't want to tell whether the user is correct answering the question...<br><br> nerfbendr's trivia is not free<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5714">nickname</a> — Sun Nov 28, 2004 10:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2004-11-28T06:18:48-04:00</updated>

		<published>2004-11-28T06:18:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43205#p43205</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43205#p43205"/>
		<title type="html"><![CDATA[trouble with scramble tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43205#p43205"><![CDATA[
That script is for the birds.  Try the <a href="http://www.egghelp.org/tcl.htm" class="postlink">TCL archives</a>, in the <em class="text-italics">'Games'</em> section.  You might wish to try <a href="http://nerfbendr.cjb.net/" class="postlink">nerfbendr's trivia</a>, it has far more potential  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Sun Nov 28, 2004 6:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-11-28T03:40:01-04:00</updated>

		<published>2004-11-28T03:40:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43199#p43199</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43199#p43199"/>
		<title type="html"><![CDATA[trouble with scramble tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43199#p43199"><![CDATA[
there would be a better chance someone can if you paste the problematic code here<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Nov 28, 2004 3:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nickname]]></name></author>
		<updated>2004-11-28T03:18:50-04:00</updated>

		<published>2004-11-28T03:18:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43198#p43198</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43198#p43198"/>
		<title type="html"><![CDATA[trouble with scramble tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43198#p43198"><![CDATA[
Can anyone help me pls?<br>I put the file here<div class="codebox"><p>Code: </p><pre><code>http://con4n007.freelinuxhost.com/txc.tcl</code></pre></div>the scramble works ok,<br>my problem is, it doesn't recognize the answer...<br>let's say the answer will be "good"<br>even though I asnwer "good", it gives no response at all and doesn't increment the score.<br>can anyone help me pls?<br><br><br>thanks<br><br>edit:<br>there's seperate question called "soal.txt" with {question} {answer} format, line per line<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5714">nickname</a> — Sun Nov 28, 2004 3:18 am</p><hr />
]]></content>
	</entry>
	</feed>
