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

	<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-09-24T15:55:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ian-Highlander]]></name></author>
		<updated>2002-09-24T15:55:40-04:00</updated>

		<published>2002-09-24T15:55:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11325#p11325</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11325#p11325"/>
		<title type="html"><![CDATA[too many procedure]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11325#p11325"><![CDATA[
Here's a sysop script I started working on over a year ago and never got round to testing or finishing.<br><br>Some of it probably works, but it will need a fair bit of work doing on it and hasnt had the security checking routines put into it yet either.<br><br>It was a work in progress, but as my interest in eggdrop scripting gets less and less due to having no spare time, if anyone can make use of this then they are welcome to it.<br><br><a href="http://www.highlandfox.com/downloads/system_bot.tcl" class="postlink">http://www.highlandfox.com/downloads/system_bot.tcl</a><br><br>Note this was written initially for my server which runs Unreal IRCd and Auspice Services so not all commands may be appropriate.<br><br>Let me know if its any use and how you get on with it. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>Regards<br><br>Ian-Highlander<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=17">Ian-Highlander</a> — Tue Sep 24, 2002 3:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mortician]]></name></author>
		<updated>2002-09-24T08:51:56-04:00</updated>

		<published>2002-09-24T08:51:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11304#p11304</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11304#p11304"/>
		<title type="html"><![CDATA[too many procedure]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11304#p11304"><![CDATA[
in the proc dcc:oper you should get your variables onick and pass first, then it would look like this:<div class="codebox"><p>Code: </p><pre><code>proc dcc:oper {nick host text}  {global onick passputserv "oper $onick $pass"}</code></pre></div>in the second proc, it tells you too many arguments ... a dcc bind will pass 3 variables to the procedure: handle, idx and text.  You did it correct in your first proc, but you forgot text in dcc:kill<div class="codebox"><p>Code: </p><pre><code>bind dcc O kill dcc:killproc dcc:kill {nick idx text} {putserv "kill $nick"}</code></pre></div>but this would kill the user on your server with the nick of your handle ... so I guess you want to do in the pline "kill &lt;nick&gt;", then the proc should look like this:<div class="codebox"><p>Code: </p><pre><code>bind dcc O kill dcc:killproc dcc:kill {nick idx text} {set target [lindex [split $text] 0] putserv "kill $target"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1942">mortician</a> — Tue Sep 24, 2002 8:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-24T08:51:11-04:00</updated>

		<published>2002-09-24T08:51:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11303#p11303</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11303#p11303"/>
		<title type="html"><![CDATA[too many procedure]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11303#p11303"><![CDATA[
See tcl-commands.doc for information, on what arguments each procedure ois provided, for each type of bind.<br><br>You can't just use<blockquote class="uncited"><div>proc dcc:kill {nick host} {</div></blockquote>And expect the script, to know what information you want providing.<br><br>The reality is, you should be knowing what the eggdrop is providing the script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Sep 24, 2002 8:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-24T08:05:51-04:00</updated>

		<published>2002-09-24T08:05:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11301#p11301</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11301#p11301"/>
		<title type="html"><![CDATA[too many procedure]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11301#p11301"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>#########Oper##################set onick "nick"set pass "password"bind dcc O oper dcc:operproc dcc:oper {nick host text} {putserv "oper $onick $pass"}###########KILL#################bind dcc O kill dcc:killproc dcc:kill {nick host} {putserv "kill $nick"}################and after second procedure,bot say to me "too many arguments"#why?##</code></pre></div>[/code]<p>Statistics: Posted by Guest — Tue Sep 24, 2002 8:05 am</p><hr />
]]></content>
	</entry>
	</feed>
