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

	<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-09-01T01:07:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-09-01T01:07:20-04:00</updated>

		<published>2003-09-01T01:07:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26114#p26114</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26114#p26114"/>
		<title type="html"><![CDATA[TCL not binding]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26114#p26114"><![CDATA[
<blockquote class="uncited"><div>What did you mean here?</div></blockquote>That you can't just leave out the arguments you don't need from the proc. A <a href="http://tcl.tk/man/tcl8.4/TclCmd/proc.htm" class="postlink">proc</a> called by a msg bind will recieve 4 arguments no matter what and must be able to handle these some how. Either by having four variable names or using the special variable name 'args' (that can handle any number of arguments (even none)).<br><br>Check the 'binds' section of doc/tcl-commands.doc to find out what these arguments are and in what order they are passed along or else you might end up mixing things up. Your previous proc were only capable of handling ONE argument (no more, no less) and thus, when the bind called it with four arguments it had to go wrong <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Get it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Sep 01, 2003 1:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-01T00:38:02-04:00</updated>

		<published>2003-09-01T00:38:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26112#p26112</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26112#p26112"/>
		<title type="html"><![CDATA[TCL not binding]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26112#p26112"><![CDATA[
<blockquote class="uncited"><div>The bind will cause the proc to be called with a fixed number of arguments </div></blockquote>What did you mean here?<p>Statistics: Posted by Guest — Mon Sep 01, 2003 12:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-09-01T00:35:42-04:00</updated>

		<published>2003-09-01T00:35:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26111#p26111</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26111#p26111"/>
		<title type="html"><![CDATA[TCL not binding]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26111#p26111"><![CDATA[
Why are you posting again about the same error when I already told you how to solve it? If you have a problem understanding parts of my reply, please tell me, and I'll try to explain in a bit more detail.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Sep 01, 2003 12:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-01T00:30:18-04:00</updated>

		<published>2003-09-01T00:30:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26110#p26110</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26110#p26110"/>
		<title type="html"><![CDATA[TCL not binding]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26110#p26110"><![CDATA[
<blockquote class="uncited"><div>[00:29] Tcl error [msg:help]: called "msg:help" with too many arguments</div></blockquote>I get that with<blockquote class="uncited"><div>proc msg:help { nick } {<br> puthelp "NOTICE $nick :Currently, we have these commands."<br> return 0<br>}</div></blockquote><p>Statistics: Posted by Guest — Mon Sep 01, 2003 12:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-08-31T22:11:30-04:00</updated>

		<published>2003-08-31T22:11:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26107#p26107</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26107#p26107"/>
		<title type="html"><![CDATA[Re: TCL not binding]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26107#p26107"><![CDATA[
If you take a look in your log/or stay on the partyline with the right .console settings, you'll notice a error message appearing as the proc is triggered. <br><br>The bind will cause the proc to be called with a fixed number of arguments (depending on what kind of bind you're using...check tcl-commands.doc for details). Unless your proc is designed to accept that number of argumens it won't work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sun Aug 31, 2003 10:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-08-31T22:06:38-04:00</updated>

		<published>2003-08-31T22:06:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26106#p26106</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26106#p26106"/>
		<title type="html"><![CDATA[TCL not binding]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26106#p26106"><![CDATA[
Hey. I'm trying to make it bind to a certain command. But when someone enters the text, it doesn't bind it.<blockquote class="uncited"><div>bind pub - !info show:info<br>proc show:info { nick chan hand } {<br> putserv "PRIVMSG $chan :MysticBots is a MysticNetwork service that provides real EggDrop bots for your channel. $nick, if you have a channel, you can get a bot for yourself."<br> return 0<br>}</div></blockquote>is the code. Did I code that wrong?<p>Statistics: Posted by Guest — Sun Aug 31, 2003 10:06 pm</p><hr />
]]></content>
	</entry>
	</feed>
