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

	<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>2011-02-15T10:53:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2011-02-15T10:53:42-04:00</updated>

		<published>2011-02-15T10:53:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96023#p96023</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96023#p96023"/>
		<title type="html"><![CDATA[public oper commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96023#p96023"><![CDATA[
In your eggdrop.conf look for this section <br><br># This is a Tcl script to be run immediately after connecting to a server.<br>bind evnt - init-server evnt:init_server<br><br>change it to the following to oper your eggdrop<br><div class="codebox"><p>Code: </p><pre><code>bind evnt - init-server evnt:init_server proc evnt:init_server {type} {    putquick "privmsg nickserv identify password"   putquick "OPER NICKNAME OERPASS"  } </code></pre></div><br>The following will op and set vhosts this could do with some protection checks on it im sure someone will add to it<br><div class="codebox"><p>Code: </p><pre><code>#This part will allow you to add channels you dont want this command to work in channels can be added #like so people with global flag n overide this to use type /msg botnick opme #channelname#set channels {#"#addchannel"#"#addchannel"#}</code></pre></div><div class="codebox"><p>Code: </p><pre><code>set channels {"#addchannel"}bind msg o|o opme cmd:opmeproc cmd:opme {nick uhost hand arg} {global channels  set chan [lindex [split $arg] 0]foreach c $channels {if {!([matchattr $hand n|n $chan]) &amp;&amp; [string match -nocase $c $chan]} {return 0}}  putserv "PRIVMSG CHANSERV OP $chan $nick"}#!vhost to use type !vhost your.virtual.host in a channelbind pub o|o !vhost vhost_proc proc vhost_proc {nick uhost hand chan arg} {   set text [lindex [split $arg] 0]   putserv "PRIVMSG HOSTSERV SET $nick $text" } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Tue Feb 15, 2011 10:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[zemic]]></name></author>
		<updated>2011-02-14T10:02:08-04:00</updated>

		<published>2011-02-14T10:02:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96013#p96013</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96013#p96013"/>
		<title type="html"><![CDATA[public oper commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96013#p96013"><![CDATA[
Im in need of a script that lets people to use public irc operator commands to change their vhost and get op in a channel. Server is running unrealircd. <br><br>Commands could be !vhost and !opme. I guess right oper commands are chghost and samode. Op command would give user op in the channel the command has been used and script should work in all channels the bot is on. !opme command could also work as msg to the bot.<br><br>And finally how can i make the bot to take oper rights when joining a server?<br><br>Thanks for help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11552">zemic</a> — Mon Feb 14, 2011 10:02 am</p><hr />
]]></content>
	</entry>
	</feed>
