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

	<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-07-27T15:23:44-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Volume]]></name></author>
		<updated>2003-07-27T15:23:44-04:00</updated>

		<published>2003-07-27T15:23:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24049#p24049</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24049#p24049"/>
		<title type="html"><![CDATA[Superbitch.tcl edit to kickmode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24049#p24049"><![CDATA[
hello, i have edit superbitch.tcl to kick user they oping other and this user ho get op became kick to.<br>but wen a user the is not add op a bot or some bots the bots kick add  bots to. ther must a bot identify in the script.. but i cant help me.<br><br><br>superbitch.tcl modified to kick but add bots became kick to wenn a user they have not the flags for opping... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> and ops bots (exemple open a new chan and the user is not yet add as chanmaster)<br><br>Problem Bots kick Bots the User is not add!<br><br>* User sets mode: +oo Bot1 Bot2<br>* User sets mode: +ooo Bot4 Comodore Domian<br>* Bot4 was kicked by Bot2 (cya)<br>* Bot1 sets mode: +o Bot3<br>* You were kicked by Bot2 (no handop!)<br>* Attempting to rejoin channel #firlefanz<br>* Rejoined channel #firlefanz<br>* Topic is 'hello'<br>* Set by siegfried!<a href="mailto:nix@ko.org">nix@ko.org</a> on Sat Jul 26 <br>* Bot1 sets mode: +o Bot5<br>* Comodore was kicked by Bot2 (cya)<br>* Domian was kicked by Bot2 (cya)<br><br>all bots have +bfoHNSU Flags global<br><br><div class="codebox"><p>Code: </p><pre><code># netbots.tcl v4.09 (1 April 2002)# Copyright 1998-2002 by slennox# slennox's eggdrop page - http://www.egghelp.org/## superbitch.tcl component script ##proc sb_bitch {nick uhost hand chan mode opped} {  global botnick sb_chans sb_canop sb_canopany sb_canopflags sb_checkop sb_note sb_remove  if {$mode == "+o"} {    if {$nick != $botnick} {      if {(($opped != $botnick) &amp;&amp; ($nick != $opped) &amp;&amp; ([onchan $nick $chan]) &amp;&amp; (![wasop $opped $chan]) &amp;&amp; (($sb_chans == "") || ([lsearch -exact $sb_chans [string tolower $chan]] != -1)))} {        if {![matchattr [nick2hand $opped $chan] $sb_canopflags $chan]} {          if {$sb_canopany == "" || ![matchattr $hand $sb_canopany $chan]} {            putkick $chan $opped "cya"            putkick $chan $nick "no handop!"            if {$sb_remove &amp;&amp; [validuser $hand] &amp;&amp; [matchattr $hand o|o $chan]} {              chattr $hand -o+d|-o+d $chan              if {[info commands sendnote] != ""} {                foreach recipient $sb_note {                  if {[validuser $recipient]} {                    sendnote SUPERBITCH $recipient "Removed +o from $hand (opped $opped on $chan)"                  }                }              }            }          }        } else {          if {((($sb_canopany == "") || (![matchattr $hand $sb_canopany $chan])) &amp;&amp; (($sb_canop == "") || (![matchattr $hand $sb_canop $chan])))} {            putkick $chan $opped "cya"            putkick $chan $nick "no handop!"            if {$sb_remove &amp;&amp; [validuser $hand] &amp;&amp; [matchattr $hand o|o $chan]} {              chattr $hand -o+d|-o+d $chan              if {[info commands sendnote] != ""} {                foreach recipient $sb_note {                  if {[validuser $recipient]} {                    sendnote SUPERBITCH $recipient "Removed +o from $hand (opped $opped on $chan)"                  }                }              }            }          }        }      }    } else {      if {(($sb_checkop) &amp;&amp; (![matchattr [nick2hand $opped $chan] o|o $chan]) &amp;&amp; (($sb_chans == "") || ([lsearch -exact $sb_chans [string tolower $chan]] != -1)))} {        putkick $chan $opped "cya"        putlog "superbitch: opped non +o user $opped on $chan - reversing."        nb_sendcmd * rbroadcast "superbitch: opped non +o user $opped on $chan - reversing."      }    }  }  return 0}set sb_chans [split [string tolower $sb_chans]] ; set sb_note [split $sb_note]bind mode - * sb_bitchreturn "nb_info 4.09.0"</code></pre></div>netset.tcl settings for superbitch:<br><div class="codebox"><p>Code: </p><pre><code># superbitch.tcl settingsset nb_component(superbitch) 1set sb_chans ""set sb_canop "o|o"set sb_canopflags "o|o"set sb_canopany "bmn|mn"set sb_remove 1set sb_note "owner1 owner2"set sb_checkop 1</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3212">Volume</a> — Sun Jul 27, 2003 3:23 pm</p><hr />
]]></content>
	</entry>
	</feed>
