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

	<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>2005-12-07T10:15:07-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-12-07T10:15:07-04:00</updated>

		<published>2005-12-07T10:15:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58038#p58038</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58038#p58038"/>
		<title type="html"><![CDATA[help with a custom aop script i wrote.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58038#p58038"><![CDATA[
If you looked up the error using .set errorInfo, you would have noticed the TCL error "wrong number of arguments" for calling aop_op and deop_op. YOu obviously changed the binding from pub to msg without taking care about the changes.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Dec 07, 2005 10:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[novastar]]></name></author>
		<updated>2005-12-07T08:51:30-04:00</updated>

		<published>2005-12-07T08:51:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58035#p58035</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58035#p58035"/>
		<title type="html"><![CDATA[help with a custom aop script i wrote.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58035#p58035"><![CDATA[
I was wondering if anybody can help me with this script i wrote.<div class="codebox"><p>Code: </p><pre><code>bind msg - !opme aop_opproc aop_op {nick host hand chan text} {pushmode $chan +o $nickputserv "PRIVMSG $chan :Sure thing $nick."return 0}putlog "OP Script is loaded succesfully!"</code></pre></div>I had it working for a little while, then i changed it to this:<div class="codebox"><p>Code: </p><pre><code>bind msg - !opme aop_opbind msg - !deopme deop_opproc aop_op {nick host hand chan text} {pushmode $chan +o $nickputserv "PRIVMSG $chan :Sure thing $nick."return 0}proc deop_op {nick host hand chan text} {pushmode $chan -o $nickputserv "PRIVMSG $chan :Sure thing $nick."return 0}putlog "OP Script is loaded succesfully!"</code></pre></div>Once i changed it to the second version it quit working, it wouldnt op or de op anybody<br>So i changed it back to the origional form (top code)<br>Ive done everything i can think of.<br>The script is added in the eggdrop.conf<br>i have .rehash and .restart<br>ive even killed the eggdrop process and restarted it that way.<br>Nothing i do works.<br>Any help is greatly appriciated.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7077">novastar</a> — Wed Dec 07, 2005 8:51 am</p><hr />
]]></content>
	</entry>
	</feed>
