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

	<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>2002-12-27T20:57:59-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-12-27T20:57:59-04:00</updated>

		<published>2002-12-27T20:57:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14635#p14635</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14635#p14635"/>
		<title type="html"><![CDATA[What's Wrong ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14635#p14635"><![CDATA[
You will find this also fails.<br><br>There are two specific reasons for this.<br><br>First. Eggdrop sends information to a PUB class bind, using "nick uhost hand chan arg". It is not based on the order you place the names in this list, these are only the names you wish to refer to them as in your script, and eggdrop will allways send the data in the same order regardless.<br><br>Second. the variable name "args" has a special meaning in Tcl, and is used in a way, that you can take unlimited arguments to a proc, without error, so you can use variable length argument lists.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Dec 27, 2002 8:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[laidas]]></name></author>
		<updated>2002-12-27T13:39:18-04:00</updated>

		<published>2002-12-27T13:39:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14627#p14627</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14627#p14627"/>
		<title type="html"><![CDATA[:))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14627#p14627"><![CDATA[
oh sorry I saw where's a problem....  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">:<br><div class="codebox"><p>Code: </p><pre><code>proc pub:op {nick uhost hand args [u]chan[/u]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1641">laidas</a> — Fri Dec 27, 2002 1:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[laidas]]></name></author>
		<updated>2002-12-27T13:27:02-04:00</updated>

		<published>2002-12-27T13:27:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14626#p14626</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14626#p14626"/>
		<title type="html"><![CDATA[What's Wrong ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14626#p14626"><![CDATA[
tcl:<br><br><div class="codebox"><p>Code: </p><pre><code>bind pub - hello pub:opproc pub:op {nick uhost hand args} {    set chan [string tolower $chan]    putserv "PRIVMSG chanserv :op $chan $nick"}</code></pre></div>when I Type In Channel "hello" (without ""  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> ) In telnet it responds:<blockquote class="uncited"><div>Tcl error [pub:op]: can't read "chan": no such variable</div></blockquote>What's wrong ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1641">laidas</a> — Fri Dec 27, 2002 1:27 pm</p><hr />
]]></content>
	</entry>
	</feed>
