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

	<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>2003-06-19T15:30:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2003-06-19T15:30:51-04:00</updated>

		<published>2003-06-19T15:30:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22240#p22240</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22240#p22240"/>
		<title type="html"><![CDATA[Variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22240#p22240"><![CDATA[
thx Papillon<br>It now works.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2661">cerberus_gr</a> — Thu Jun 19, 2003 3:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-06-19T13:57:49-04:00</updated>

		<published>2003-06-19T13:57:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22233#p22233</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22233#p22233"/>
		<title type="html"><![CDATA[Variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22233#p22233"><![CDATA[
$idx is -1 since idx does not exist yet, $idx is an "indetificator" of a dcc/telenet connection, and since the user is not connected through dcc/telenet in you script idx will always return -1<br><br>the format <em class="text-italics">var(something)</em> is known as arrays in tcl, see more about arrays  <a href="http://tcl.activestate.com/man/tcl8.4/TclCmd/array.htm" class="postlink">here</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Thu Jun 19, 2003 1:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2003-06-19T12:44:01-04:00</updated>

		<published>2003-06-19T12:44:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22225#p22225</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22225#p22225"/>
		<title type="html"><![CDATA[Variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22225#p22225"><![CDATA[
anyone? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2661">cerberus_gr</a> — Thu Jun 19, 2003 12:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2003-06-18T17:01:30-04:00</updated>

		<published>2003-06-18T17:01:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22161#p22161</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22161#p22161"/>
		<title type="html"><![CDATA[Variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22161#p22161"><![CDATA[
Sorry if this post already exists, but I don't know how I could search about it.<br><br>I have this code:<div class="codebox"><p>Code: </p><pre><code>bind ctcp F "*DCC*" fd:chatacceptproc fd:chataccept { nick uhost hand dest key text } {    if {[string match "*chat*" [string tolower $text]]} {      set idx [hand2idx $hand]      # -- why $idx is -1 ???? How can I take the idx of this connection?      # Here is my problem      set fd(_$hand) 1      # How can I set a variable which has another variable in it and how      # can I call this?      # putlog "${fd(_$hand)"  returns error      set a [connect [lindex [split $uhost @] 1] [lindex [split $text] 3]]      control $a fd:chat_control    }}</code></pre></div>Thx <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2661">cerberus_gr</a> — Wed Jun 18, 2003 5:01 pm</p><hr />
]]></content>
	</entry>
	</feed>
