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

	<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-03-18T06:38:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[twfay]]></name></author>
		<updated>2005-03-18T06:38:57-04:00</updated>

		<published>2005-03-18T06:38:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47838#p47838</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47838#p47838"/>
		<title type="html"><![CDATA[Help ctc.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47838#p47838"><![CDATA[
Thanks Sir_fz.. its working L:)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6078">twfay</a> — Fri Mar 18, 2005 6:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-03-16T17:46:04-04:00</updated>

		<published>2005-03-16T17:46:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47770#p47770</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47770#p47770"/>
		<title type="html"><![CDATA[Help ctc.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47770#p47770"><![CDATA[
change<div class="codebox"><p>Code: </p><pre><code>set tls_code [lindex $text 0 end]</code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>set tls_code [lindex $text 0]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Mar 16, 2005 5:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[twfay]]></name></author>
		<updated>2005-03-16T12:21:21-04:00</updated>

		<published>2005-03-16T12:21:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47753#p47753</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47753#p47753"/>
		<title type="html"><![CDATA[Help ctc.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47753#p47753"><![CDATA[
Hi can any 1 help me for this ctc.tcl error? i dl from eggdrop.org scripts there , but when i run it , it show me this error <br>when i type !code 123456 <br>Tcl error [tls:code]: wrong # args: should be "lindex list index"<br>Can any 1 help me settle this prob? <br>thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>proc tls:code {nick uhost hand chan text} {<br>  global tls_code tls_number tls_game tls_hint tls_chan tls_ctc tls_ctcs<br>  global tls_frase11_1 tls_frase11_2 tls_frase12_1 tls_frase12_2<br>  if {$tls_game == "on"} { return }<br>  if {$tls_chan != $chan} { return }<br>  if {[info exists tls_ctcs($nick)]} {<br>   set score [lindex $tls_ctcs($nick) 0]<br>   set hints [lindex $tls_ctcs($nick) 1]<br>   set wrong [lindex $tls_ctcs($nick) 2]<br>                                    } else {<br>                                            tls:update $nick 0 0 0<br>                                            lappend tls_ctc(nicks) $nick<br>   set score 0;set hints 0; set wrong 0<br>                                           }<br>  set tls_code [lindex $text 0 end]<br>  if {$tls_code == $tls_number} {<br>  set tls_game "on"<br>  set tls_hint "0"<br>  incr score 1<br>  tls:update $nick $score $hints $wrong<br>  putserv "PRIVMSG $tls_chan :$tls_frase11_1 $nick $tls_frase11_2 \00304$tls_number\003."<br>  foreach j [utimers] {<br>        if {[lindex $j 1] == "tls:answer"} { killutimer [lindex $j 2] }<br>      }<br>  tls:save<br>  return 1<br>  } else {<br>   incr wrong 1<br>   tls:update $nick $score $hints $wrong<br>   putserv "PRIVMSG $tls_chan :$tls_frase12_1 $nick $tls_frase12_2"<br>   tls:save<br>   return 1<br>  }<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6078">twfay</a> — Wed Mar 16, 2005 12:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
