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

	<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>2010-10-26T03:57:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ali3n0]]></name></author>
		<updated>2010-10-26T03:57:24-04:00</updated>

		<published>2010-10-26T03:57:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94870#p94870</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94870#p94870"/>
		<title type="html"><![CDATA[Auto Oper]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94870#p94870"><![CDATA[
<blockquote class="uncited"><div>I've tried to toggle other configs, such as set global-ban-time 130, to see if it is checked, but still .chaninfo gives me the default value (&lt;mybot&gt; ban-time: 120)</div></blockquote>Nevermind, in the meanwhile I've found out the magic ".chansave" word... thanks again for your precious help!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11404">ali3n0</a> — Tue Oct 26, 2010 3:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ali3n0]]></name></author>
		<updated>2010-10-26T03:05:14-04:00</updated>

		<published>2010-10-26T03:05:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94868#p94868</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94868#p94868"/>
		<title type="html"><![CDATA[Auto Oper]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94868#p94868"><![CDATA[
<blockquote class="uncited"><div>Sorry that I'm don't know ngircd, to be able to give you the exact command that you'd need to set it.  With some experimenting though, you should be able to get it.  <br>I hope this helps.</div></blockquote>Sure it does! Thank you very much for your help. I'm still not able to gain op status, but at least I know why now. Seems that eggdrop is ignoring some of my config declarations, i.e. this is eggdrop reply:<br><br>&lt;mybot&gt; To regain op's (need-op):<br>&lt;mybot&gt;  putserv "PRIVMSG #lamest :op me cos i'm lame!"<br><br>but I'm 100% sure that's the default one I've already changed. Here my eggdrop.conf:<br><br><a href="http://pastebin.com/Rby95x43" class="postlink">http://pastebin.com/Rby95x43</a><br><br>I've tried to toggle other configs, such as set global-ban-time 130, to see if it is checked, but still .chaninfo gives me the default value (&lt;mybot&gt; ban-time: 120)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11404">ali3n0</a> — Tue Oct 26, 2010 3:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-10-25T21:02:41-04:00</updated>

		<published>2010-10-25T21:02:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94865#p94865</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94865#p94865"/>
		<title type="html"><![CDATA[Auto Oper]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94865#p94865"><![CDATA[
<blockquote class="uncited"><div>...<br>#somechannel is correctly joined at startup though. I've tried other need-op commands, such as putserv "PRIVMSG mynick ciao", but I get no messages to mynick...</div></blockquote><br>I'm not familiar with ngircd.<br><br>In the partyline, try:<br>.chaninfo #channel<br>and look for a line:<br>&lt;botnick&gt; To regain op's (need-op):<br>&lt;botnick&gt;  putserv "privmsg chanserv :op #channel $botnick"<br><br>You may or may not have them now.<br><br>Here is a line I use, to set the above:<div class="codebox"><p>Code: </p><pre><code>.chanset #channel need-op  putserv "privmsg chanserv :op #channel $botnick"</code></pre></div>You can read a little about it with:<br>.help chaninfo   and you'll have to find it, in the long return.<br>or, check here:  <a href="http://www.egghelp.org/commands/channels.htm" class="postlink">http://www.egghelp.org/commands/channels.htm</a><br>for  need-op  .<br><br>Sorry that I'm don't know ngircd, to be able to give you the exact command that you'd need to set it.  With some experimenting though, you should be able to get it.  <br><br>I hope this helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Mon Oct 25, 2010 9:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ali3n0]]></name></author>
		<updated>2010-10-25T15:16:49-04:00</updated>

		<published>2010-10-25T15:16:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94862#p94862</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94862#p94862"/>
		<title type="html"><![CDATA[Auto Oper]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94862#p94862"><![CDATA[
Hi folks. I'm new to eggdrop and I'm playing around a bit. I've got the same environment, ngircd and eggdrop.<br><br>Actually seems that OPER works fine (at least according to ngircd logs) but I can't get the need-op function to be called after #channel join.<br><br>This works to me:<br>bind evnt - init-server evnt:init_server<br><div class="codebox"><p>Code: </p><pre><code>proc evnt:init_server {type} {  global botnick  putquick "OPER &lt;Oper&gt; &lt;Pass&gt;"}</code></pre></div>but not this:<br><div class="codebox"><p>Code: </p><pre><code>channel add #somechannel {      chanmode "+nt-likm"      need-op { putquick "MODE #somechannel +o mybotnick" }</code></pre></div>#somechannel is correctly joined at startup though. I've tried other need-op commands, such as putserv "PRIVMSG mynick ciao", but I get no messages to mynick...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11404">ali3n0</a> — Mon Oct 25, 2010 3:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ron-skY]]></name></author>
		<updated>2009-03-15T23:40:02-04:00</updated>

		<published>2009-03-15T23:40:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87881#p87881</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87881#p87881"/>
		<title type="html"><![CDATA[re:]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87881#p87881"><![CDATA[
Thank you for your response.<br><br>I've changed the command to OPMODE, but it seems to have no effect (also my irc server does not recognize that command, when I try it as a user/IRC operator).<br><br>I replaced the botnick variable with the bot username, as you suggested, so the config now looks like this:<br><div class="codebox"><p>Code: </p><pre><code>bind evnt - init-server evnt:init_serverproc evnt:init_server {type} {  global botnick  putquick "OPER mybot mightypassword"  putquick "OPMODE #somechannel +o mybot"  putquick "MODE mybot +Hi"  putquick "MODE mybot -ws"  putquick "MODE mybot -o"}</code></pre></div>This also didn't help.<br><br>The discussed channel is persistent and in eggdrop.conf, it's set with no parametres. I hope that does not collide with anything.<br><br>Any other suggestions, where to look?<br><br>Thank you<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10546">Ron-skY</a> — Sun Mar 15, 2009 11:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2009-03-15T22:58:39-04:00</updated>

		<published>2009-03-15T22:58:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87879#p87879</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87879#p87879"/>
		<title type="html"><![CDATA[Auto Oper]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87879#p87879"><![CDATA[
for an irc-operator to be able to change modes for a channel, they must use the OPMODE command instead of MODE<br><br>Also dont use botnick for your oper username, just put the entery you entered as username for the eggdrop's oper block.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Sun Mar 15, 2009 10:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ron-skY]]></name></author>
		<updated>2009-03-15T20:19:19-04:00</updated>

		<published>2009-03-15T20:19:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87874#p87874</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87874#p87874"/>
		<title type="html"><![CDATA[re: getting an IRC oper]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87874#p87874"><![CDATA[
Hi,<br><br>I've done some reading about this, but I am a little bit confused about getting an IRC Operator status for my bot as it joins the designated server.<br><br>I am using eggdrop for my own irc server (running on newest ngircd) and I've set up eggdrop.conf like this:<br><div class="codebox"><p>Code: </p><pre><code>proc evnt:init_server {type} {  global botnick  putquick "OPER $botnick &lt;my_superb_password&gt;"  putquick "MODE &lt;desired_channel&gt; +o $botnick"  putquick "MODE $botnick +Hi"  putquick "MODE $botnick -ws"  putquick "MODE $botnick -o"}</code></pre></div>Note that values in lt/gt are replaced for the purposes of thread posting. Bot is also properly set as IRC Operator in ngircd.conf.<br><br>If I understand correctly, the proper way of setting up eggdrop as channel operator is this:<br>1) get an IRC operator status via <strong class="text-strong">/OPER</strong><br>2) set <strong class="text-strong">+o</strong> for itself on that channel<br>3) (possibly for more security) de-op IRC operator status (via <strong class="text-strong">-o</strong>)<br><br>It's possible that I am wrong, the commands you see above are derived from my experiments as regular user (so I tried to oper up, give myself +o on channel, then de-op myself again).<br><br>Anyways, auto-oping for eggdrop does not work, so if anyone can come up with anything I might be/am doing wrong, I'd more than appreciate it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10546">Ron-skY</a> — Sun Mar 15, 2009 8:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-03-31T00:24:01-04:00</updated>

		<published>2008-03-31T00:24:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82092#p82092</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82092#p82092"/>
		<title type="html"><![CDATA[Auto Oper]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82092#p82092"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc evnt:init_server {init-server} {  global botnick  putquick "PRIVMSG Nickserv :identify &lt;nick password&gt;"  putquick "oper &lt;oper nick&gt; &lt;oper password&gt;"  putquick "MODE $botnick +Hi"}</code></pre></div>Works, tested (quite often).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Mon Mar 31, 2008 12:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2008-03-30T20:41:30-04:00</updated>

		<published>2008-03-30T20:41:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82091#p82091</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82091#p82091"/>
		<title type="html"><![CDATA[Auto Oper]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82091#p82091"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set oper(user) "foo"set oper(pass) "bar"set oper(modes) "+H"; # Must be in format +-flagsset nickserv(host) "nickserv@some.network.org"set nickserv(pass) "foobar"set nickserv(modes) ""; # Must be in format +-flagsbind evnt - {init-server} evnt:autoproc evnt:auto {event} {    global botnick oper nickserv    if {$oper(user) != "" &amp;&amp; $oper(pass) != ""} {        putquick "OPER :$oper(user) $oper(pass)"        if {$oper(modes) != ""} {            putquick "MODE $botnick $oper(modes)"        }    }    if {$nickserv(host) != "" &amp;&amp; $nickserv(pass) != ""} {        putquick "PRIVMSG $nickserv(host) :identify $nickserv(pass)"        if {$nickserv(modes) != ""} {            putquick "MODE $botnick $nickserv(modes)"        }    }}</code></pre></div>Untested!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Sun Mar 30, 2008 8:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TheDevil]]></name></author>
		<updated>2008-03-30T15:21:30-04:00</updated>

		<published>2008-03-30T15:21:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82088#p82088</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82088#p82088"/>
		<title type="html"><![CDATA[Auto Oper]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82088#p82088"><![CDATA[
<blockquote class="uncited"><div>it was said like three times that you have to alter the script to suit your needs, I have no idea how or to whom your bot is supposed to ask for oper status on your network without more information.  To make the bot oper-up, identify to nickserv, and then finally set itself mode +H, you just need to add all the parts together in the same procedure, something like this:<div class="codebox"><p>Code: </p><pre><code>proc evnt:init_server {type} {  global botnick  putquick "PRIVMSG NickServ :identify &lt;password&gt;"  putquick "PRIVMSG OperOp :login &lt;password&gt;  putquick "MODE $botnick +H"}</code></pre></div>Now <strong class="text-strong">you</strong> are expected to <strong class="text-strong">alter</strong> this procedure to suit your needs.</div></blockquote>to oper its /oper user pass<br><br>to identify its /nickserv identify password or /msg nickserv identify password<br><br>to set mode H its /mode me +H<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9823">TheDevil</a> — Sun Mar 30, 2008 3:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2008-03-30T14:43:32-04:00</updated>

		<published>2008-03-30T14:43:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82087#p82087</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82087#p82087"/>
		<title type="html"><![CDATA[Auto Oper]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82087#p82087"><![CDATA[
it was said like three times that you have to alter the script to suit your needs, I have no idea how or to whom your bot is supposed to ask for oper status on your network without more information.  To make the bot oper-up, identify to nickserv, and then finally set itself mode +H, you just need to add all the parts together in the same procedure, something like this:<div class="codebox"><p>Code: </p><pre><code>proc evnt:init_server {type} {  global botnick  putquick "PRIVMSG NickServ :identify &lt;password&gt;"  putquick "PRIVMSG OperOp :login &lt;password&gt;  putquick "MODE $botnick +H"}</code></pre></div>Now <strong class="text-strong">you</strong> are expected to <strong class="text-strong">alter</strong> this procedure to suit your needs.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Sun Mar 30, 2008 2:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-03-30T12:03:41-04:00</updated>

		<published>2008-03-30T12:03:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82084#p82084</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82084#p82084"/>
		<title type="html"><![CDATA[Auto Oper]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82084#p82084"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>it should look similar to:<div class="codebox"><p>Code: </p><pre><code>bind evnt - init-server operproc oper {type} {  putserv "OPER &lt;login&gt; &lt;password&gt;"}</code></pre></div></div></blockquote>made sure it says putserv and it still fails to oper and fails to identify to nickserv as well.</div></blockquote>Then you have other problems.<br>Start your bot with the -nt switches.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sun Mar 30, 2008 12:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TheDevil]]></name></author>
		<updated>2008-03-30T04:12:50-04:00</updated>

		<published>2008-03-30T04:12:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82078#p82078</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82078#p82078"/>
		<title type="html"><![CDATA[Auto Oper]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82078#p82078"><![CDATA[
<blockquote class="uncited"><div>it should look similar to:<div class="codebox"><p>Code: </p><pre><code>bind evnt - init-server operproc oper {type} {  putserv "OPER &lt;login&gt; &lt;password&gt;"}</code></pre></div></div></blockquote>made sure it says putserv and it still fails to oper and fails to identify to nickserv as well.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9823">TheDevil</a> — Sun Mar 30, 2008 4:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-03-29T23:48:26-04:00</updated>

		<published>2008-03-29T23:48:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82077#p82077</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82077#p82077"/>
		<title type="html"><![CDATA[Auto Oper]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82077#p82077"><![CDATA[
it should look similar to:<div class="codebox"><p>Code: </p><pre><code>bind evnt - init-server operproc oper {type} {  putserv "OPER &lt;login&gt; &lt;password&gt;"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sat Mar 29, 2008 11:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TheDevil]]></name></author>
		<updated>2008-03-29T18:44:45-04:00</updated>

		<published>2008-03-29T18:44:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82076#p82076</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82076#p82076"/>
		<title type="html"><![CDATA[Auto Oper]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82076#p82076"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code># This is a Tcl script to be run immediately after connecting to a server.bind evnt - init-server evnt:init_serverproc evnt:init_server {type} {  global botnick  putquick "PRIVMSG NickServ :identify &lt;password&gt;"  putquick "MODE $botnick +i-ws"}</code></pre></div>this is found in your conf file, alter it to suit your needs</div></blockquote>I edited this and the bot fails to identify and oper.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9823">TheDevil</a> — Sat Mar 29, 2008 6:44 pm</p><hr />
]]></content>
	</entry>
	</feed>
