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

	<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-07-31T19:48:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[tonyrayo]]></name></author>
		<updated>2003-07-31T19:48:06-04:00</updated>

		<published>2003-07-31T19:48:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24244#p24244</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24244#p24244"/>
		<title type="html"><![CDATA[too many arguments error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24244#p24244"><![CDATA[
thx to both of you, i'll try to take the info you have given and fix it =)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3591">tonyrayo</a> — Thu Jul 31, 2003 7:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2003-07-31T17:42:06-04:00</updated>

		<published>2003-07-31T17:42:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24236#p24236</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24236#p24236"/>
		<title type="html"><![CDATA[too many arguments error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24236#p24236"><![CDATA[
<img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><br><br>I should pay closer attention.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Thu Jul 31, 2003 5:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-31T17:08:09-04:00</updated>

		<published>2003-07-31T17:08:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24231#p24231</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24231#p24231"/>
		<title type="html"><![CDATA[too many arguments error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24231#p24231"><![CDATA[
from tcl-commands.doc:<blockquote class="uncited"><div>NOTC (stackable)<br>         bind notc &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>         procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;text&gt; &lt;dest&gt;<br><br>         Description: dest will be a nickname (the bot's nickname,<br>           obviously) or a channel name. mask is matched against the entire<br>           notice and can contain wildcards. It is considered a breach of<br>           protocol to respond to a /notice on IRC, so this is intended for<br>           internal use (logging, etc.) only. Note that server notices do not<br>           trigger the NOTC bind.<br><br>           New Tcl procs should be declared as<br>             proc notcproc {nick uhost hand text {dest ""}} {<br>               global botnick; if {$dest == ""} {set dest $botnick}<br>               ...<br>             }<br>           for compatibility.<br>         Module: server</div></blockquote>always see this file when u have such TCL errors.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Jul 31, 2003 5:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2003-07-31T17:05:14-04:00</updated>

		<published>2003-07-31T17:05:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24230#p24230</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24230#p24230"/>
		<title type="html"><![CDATA[too many arguments error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24230#p24230"><![CDATA[
Newer eggdrop versions added an additional argument to nick binds.<br><br>Change<div class="codebox"><p>Code: </p><pre><code>proc nickserv_sux { nick uhost hand text } {</code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>proc nickserv_sux { nick uhost hand chan newnick } {</code></pre></div>Since your script doesn't use $text this shouldn't affect its behaviour.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Thu Jul 31, 2003 5:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tonyrayo]]></name></author>
		<updated>2003-07-31T15:36:13-04:00</updated>

		<published>2003-07-31T15:36:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24228#p24228</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24228#p24228"/>
		<title type="html"><![CDATA[too many arguments error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24228#p24228"><![CDATA[
I have used this script in the past and have great results, as it has been the only script I've seen that can intercept nickserv messages and execute an ident.  I am currently having a problem with running with the latest version of eggdrop.  I was not using the channel part of the script, so I removed that, but left in any needed parts. Here is what the script looks like currently.<br><div class="codebox"><p>Code: </p><pre><code>set nickpass "*******"set eggnick "massimo" bind notc B "*This nickname is registered and protected.*" nickserv_sux   proc nickserv_sux { nick uhost hand text } {  global botnick eggnick nickpass  if { $botnick == "$eggnick" } {   putserv "PRIVMSG nickserv :identify $nickpass"   putlog "Sending Identify to NickServ"  } else {   putlog "$eggnick is using a nick owned by someone else"  }} bind dcc o nickserv nickserv proc nickserv { hand idx mascara } { global nickpass putserv "PRIVMSG nickserv :identify $nickpass"   } putlog "Loading Bot_Identifyer Script, v0.4 -- By GiZZmo &lt;vivas@usa.net&gt; and Buster_ &lt;ejr@infonet.com.br&gt; - Edited by DBG"</code></pre></div>That last line is all on one line btw.  When I manually ident, it works fine, but when the NickServ bot sends the message asking it to identify, I get this responce from the bot:<br> <br>[ massimo ] [23:10] Tcl error [nickserv_sux]: called "nickserv_sux" with too many arguments<br>[ massimo ] [23:10] Tcl error [nickserv_sux]: called "nickserv_sux" with too many arguments<br> <br>If you could help in any way it would be great.  Thank you for your time.  <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=3591">tonyrayo</a> — Thu Jul 31, 2003 3:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
