Before the update, if a user (+fov on the chan) deopped a bot, the following would happen:
[20:49] *** neoshw sets mode: -o HAiKU
[20:49] *** hurts2pee sets mode: +o HAiKU
[20:49] *** l33th4x0r sets mode: +o HAiKU
[20:49] *** TheClap sets mode: +o HAiKU
[20:49] *** alkoholic sets mode: +o HAiKU
etc etc
Now, the following happens:
[21:14] *** jestrix sets mode: -o RumpRangR
[21:14] *** hurts2pee sets mode: -o+o jestrix RumpRangR
[21:14] *** alkoholic sets mode: -o+o jestrix RumpRangR
[21:14] *** CTCPFlood sets mode: -o+o jestrix RumpRangR
and so on...
I made it so that the bot who was deopped would get re-opped immediatly as well as the offender getting deopp'd.
The modified superbitch.tcl (based on the one that came with netbots 4.05) can be found at http://www.jestrix.net/ultrabitch.tcl (code is fully commented)
I take no credit for the code - I simply modified the exisiting script - slennox should be credited for an excellent job

(also, if there was an easier i could have done this, with features already in netbots, please inform me

<edit>damn typos</edit>
<font size=-1>[ This Message was edited by: jestrix on 2002-02-12 20:49 ]</font>