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

	<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-12-31T05:54:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Feanixxx]]></name></author>
		<updated>2003-12-31T05:54:22-04:00</updated>

		<published>2003-12-31T05:54:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32015#p32015</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32015#p32015"/>
		<title type="html"><![CDATA[How to make eggdrop ask for ops from psyBnc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32015#p32015"><![CDATA[
The following is handy if you are on IRC via psyBnc and want your bot to ask the bouncer for ops when it joins a channel (if it pings out, say):<br><br>First, make a little script with the following lines and place it in the scripts folder (I called it bncop.tcl):<br><div class="codebox"><p>Code: </p><pre><code>bind need - "% op" Need_Opsproc Need_Ops {chan type} { putserv "PRIVMSG YourNick :op password $chan"}</code></pre></div>Change YourNick to the nick of your bouncer; password to a password of your choice.<br><br>Add this script to either the scripts section of the bots config file or to the end of netset.tcl if running netbots (via set nb_component(bncop) 1).<br><br><br>Next, add the bot to the ASKOP list in psyBNC with this command:<br><br>/ADDOP #MyChannel password:*!<a href="mailto:MyBot@my.host.com">MyBot@my.host.com</a><br><br>changing #MyChannel, password and <a href="mailto:MyBot@my.host.com">MyBot@my.host.com</a> as required (passwords must match, of course!)<br><br>Note that you can leave out #MyChannel and it will work on all channels the bot joins where your bouncer resides.<br><br>You can get a list of bots/users that can ask for ops from the bouncer with:<br>/LISTOPS<br><br><br>I've received several mails about how to do the above, so hope post helps. It should work for any bouncer that allows users to ask for ops but the syntax of the ADDASK command may well differ, of course.<br><br>Happy New Year everyone  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3570">Feanixxx</a> — Wed Dec 31, 2003 5:54 am</p><hr />
]]></content>
	</entry>
	</feed>
