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

	<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>2006-12-23T01:01:33-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-12-23T01:01:33-04:00</updated>

		<published>2006-12-23T01:01:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69166#p69166</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69166#p69166"/>
		<title type="html"><![CDATA[KAOS multiple asnwers trivia by MArky]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69166#p69166"><![CDATA[
READ: <a href="http://forum.egghelp.org/viewtopic.php?t=10215" class="postlink">http://forum.egghelp.org/viewtopic.php?t=10215</a><br><br>FORMAT your code and post the error msgs as instructed in the above page.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sat Dec 23, 2006 1:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ozhak]]></name></author>
		<updated>2006-12-23T00:18:35-04:00</updated>

		<published>2006-12-23T00:18:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69165#p69165</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69165#p69165"/>
		<title type="html"><![CDATA[KAOS multiple asnwers trivia by MArky]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69165#p69165"><![CDATA[
I have problem with malformed question<br>#<br># Parse Question<br>#<br>proc KAOSParseQuestion {QNum} {<br> global KAOSMarker KAOSQuestions KAOSQuestion KAOSAnswers KAOSAnswerCount KAOSForcedQuestion KDebug<br><br>  set KAnswersLeft ""<br><br>  if {$QNum &lt; 0} {<br>   set KAOSFileQuestion $KAOSForcedQuestion<br>  } {<br>   set KAOSFileQuestion $KAOSQuestions($QNum)<br>  }<br><br>  if {$KDebug &gt; 1} {kaoslog "kaos" "Picked:$QNum Question:$KAOSFileQuestion"}<br><br>  if [info exists KAOSAnswers] {unset KAOSAnswers}<br><br>  # Position of first "*"<br><br>  set KAOSMarkerIDX [string first $KAOSMarker $KAOSFileQuestion]<br><br>  if {$KAOSMarkerIDX &lt; 1} {<br>   kaoslog "KAOS" "Malformed Question #$QNum"<br>  }<br><br>  set KAOSQuestionEndIDX [expr $KAOSMarkerIDX - 1]<br><br>  set KAOSQuestion [string range $KAOSFileQuestion 0 $KAOSQuestionEndIDX]<br><br>I have tried several ways to solve this but the problem still persists. When I run this script and the problem occurs, the bot will ask a blank question and we have to type '!' to answer the question. I already check the question file and I cant find anything wrong, so I think it shud be on scripting code.<br>Many thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8448">Ozhak</a> — Sat Dec 23, 2006 12:18 am</p><hr />
]]></content>
	</entry>
	</feed>
