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

	<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>2004-04-11T12:13:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-04-11T12:13:42-04:00</updated>

		<published>2004-04-11T12:13:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35423#p35423</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35423#p35423"/>
		<title type="html"><![CDATA[!op problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35423#p35423"><![CDATA[
Try this (untested): <div class="codebox"><p>Code: </p><pre><code>bind pub - !deop pub_deopproc pub_deop {nick mask hand chan text} {if {[isop $nick $chan]} {set deopname [lindex [split $text] 0]if {[isbotnick $deopname]} {putserv "PRIVMSG $chan :You can't deop $::botnick!"return 0}if {$deopname == ""} {pushmode $chan -o $nick} else {pushmode $chan -o $deopname}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Sun Apr 11, 2004 12:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Real]]></name></author>
		<updated>2004-04-11T07:04:05-04:00</updated>

		<published>2004-04-11T07:04:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35413#p35413</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35413#p35413"/>
		<title type="html"><![CDATA[!op problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35413#p35413"><![CDATA[
Ok thank you, I fixed the problem <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Now there's another small issue<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !deop pub_deopset botname "Botbot"proc pub_deop {nick mask hand chan text} {  global botname if {[isop $nick $chan]} {    set deopname "[lindex $text 0]"if {[string match -nocase $deopname $botname]} {       putserv "PRIVMSG $chan :You can't deop $botname !"return }if {$deopname == ""} { pushmode $chan -o $nick }if {$deopname != ""} { pushmode $chan -o $deopname }       }  }</code></pre></div>This still deops the bot when using <strong class="text-strong">!deop Botbot</strong><br><br>Why is this?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4669">Real</a> — Sun Apr 11, 2004 7:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-04-10T12:09:21-04:00</updated>

		<published>2004-04-10T12:09:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35399#p35399</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35399#p35399"/>
		<title type="html"><![CDATA[!op problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35399#p35399"><![CDATA[
is this a script to op urself or someone else on the channel cause if it is a script to op somone else then it should work cause ur opped .. but if it is to op urself then just do bindn pub o .. and remove the isop and the check up if first argument is emty..<br><br>if it is opme eh cause i think its a strange question when u ask that how it could be that u need to op someone when are checking if ur opped to me this means ur not opped this can only mean that ur not opped and probably are trying to oper urself if its to op someone else without u being opped witch i think is strange then do the same as the previous script but remove the isop and bind to o like it is done below remember that ur eggdrop needs global or channel flags +o<br><br><div class="codebox"><p>Code: </p><pre><code>bind pub o|o !opme opme:pubproc opme:pub {nick uhost hand chan arg} {  if {[botisop $chan] &amp;&amp; ![isop $nick $chan]} {    pushmode $chan +o $nick  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sat Apr 10, 2004 12:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2004-04-10T11:43:55-04:00</updated>

		<published>2004-04-10T11:43:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35398#p35398</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35398#p35398"/>
		<title type="html"><![CDATA[!op problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35398#p35398"><![CDATA[
use this code:<div class="codebox"><p>Code: </p><pre><code>bind pub - !op pub_op proc pub_op {nick mask hand chan text} {  if {[isop $nick $chan]} {   set opname "[lindex [split $text] 0]"   if {$opname != ""} {    pushmode $chan +o $opname  }  } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Apr 10, 2004 11:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Real]]></name></author>
		<updated>2004-04-10T11:17:10-04:00</updated>

		<published>2004-04-10T11:17:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35397#p35397</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35397#p35397"/>
		<title type="html"><![CDATA[!op problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35397#p35397"><![CDATA[
First problem:<br>everybody in the channel can execute the !op command, however I stated in my script that only ops can use it. How is this possible?<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !op pub_opproc pub_op {nick mask hand chan text} {foreach user [chanlist $chan] {   if {[isop $user $chan]} {     set opname "[lindex $text 0]"if {$opname != ""} { pushmode $chan +o $opname }       }  }}</code></pre></div>Thank you <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4669">Real</a> — Sat Apr 10, 2004 11:17 am</p><hr />
]]></content>
	</entry>
	</feed>
