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

	<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-11-26T15:40:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-26T15:40:29-04:00</updated>

		<published>2002-11-26T15:40:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13653#p13653</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13653#p13653"/>
		<title type="html"><![CDATA[Why wont this work ..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13653#p13653"><![CDATA[
Yep, works now. Thanks dude <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised">) Much appreciated.<br><br><br>- type<p>Statistics: Posted by Guest — Tue Nov 26, 2002 3:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mortician]]></name></author>
		<updated>2002-11-26T11:52:51-04:00</updated>

		<published>2002-11-26T11:52:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13641#p13641</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13641#p13641"/>
		<title type="html"><![CDATA[Why wont this work ..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13641#p13641"><![CDATA[
the binding of "join" will give 4 arguments to your "proc": &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; and &lt;channel&gt;<br><br>your proc expects only 1 argument (nick)<br><br>so make it proc "proc pgreet { nick uhost handle channel} { ..."<br><br>for more information about the bindings take a look at the tcl documentation that is comming with your egg, or at <a href="http://tcl.powersource.cx/eggtclh11.php" class="postlink">http://tcl.powersource.cx/eggtclh11.php</a><br><br>greetings<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1942">mortician</a> — Tue Nov 26, 2002 11:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-26T10:57:34-04:00</updated>

		<published>2002-11-26T10:57:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13637#p13637</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13637#p13637"/>
		<title type="html"><![CDATA[Why wont this work ..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13637#p13637"><![CDATA[
hi people,<br><br>I'm very new to all this TCL &amp; eggdrop stuff, but I wanna make my own script which basically (for now) just notice's me when I join the channel. I know that sounds stupid, but I wanna make sure I can at least get it to do that before I unleash it on the chatters, hehe.<br>This is what I have ..<br><br>bind join - * pgreet<br><br>proc pgreet { nick } {<br>   if {$nick == "alex"} {<br>      putnotc $nick "Hi $nick"<br>      }<br>   }<br><br>I've also tried changing all the "nick"'s for "hand".<br><br>I get this message ..<br><br>[14:35] Tcl error [pgreet]: called "pgreet" with too many arguments<br><br>Please help, it might just be the syntax is wrong, but I dunno where.<br><br>Thanks in advance,<br><br>- type<p>Statistics: Posted by Guest — Tue Nov 26, 2002 10:57 am</p><hr />
]]></content>
	</entry>
	</feed>
