04.07.2000


aop.tcl Component Documentation




# aop.tcl for netbots.tcl v3.50
# designed to work with eggdrop 1.4.4 or higher
# aop.tcl copyright (c) 2000 by Evo|ver <evolver@blue.penguin.nl>
# aop.tcl is based upon chanlimit.tcl by slennox and johoho.

# netbots.tcl copyright (c) 1998-2000 by slennox <slennox@egghelp.org>

## aop.tcl component script v1.1, 3.094:02 PM 10/24/00.2000 ##

# thanks slennox for netbots.tcl

Please note that this component is fully compatible with netbots.tcl v3.10 - 3.50 by slennox

Index




Description

This script is should stop Op flooding by a botnet. If a user is +a on a botnet, the whole botnet will op him. This sometimes leeds to a flood of +o by bots. Additionally the scripts checks for other bot running the same script so you can have 1 bot (or more) as the usual opper and the others if the bot isn't on the channel. See aop_bots setting for details.


Commands MSG/DCC

DCC Commands

.do-op (m|m) - check for users with the aop_flag on demand
.stop-op (m|m) - temporarily stop checking for users with the aop_flag
.startlimit (m|m) - restart checking for users with the aop_flag
.aop_test (m|m) - let the bots show to $aop_test when they check and when the next time will be. I made this option to test if the bots will check for people with the aop_flag very quickly after eachother. Because the time that bots would check at maximum depends on how big the botnet is, I thought this would be a nice way to let people test the best setting for their own botnet.

Further help is available via the netbots help system. Use .nethelp


Installation

netset.tcl

To install this component properly you have to copy it to your netbots directory and add these lines to your netset.tcl conf:

# aop.tcl
set nb_component(aop) 1
set aop_chans ""
set aop_echans ""
set aop_flag "A"
set aop_timer "200"
set aop_bots ""
set aop_test ""

Settings Documentation

aop_chans (default: "")
List of channels in which to activate op-checkking.
Valid settings: one channel like "#olympians", a list of channels like "#olympians #titans #heros", or "" to activate on all channels (except those listed in aop_echans).
 
aop_echans (default: "")
List of channels in which to skip op-checking.
Valid settings: one channel like "#olympians", a list of channels like "#olympians #titans #heros", or "" to switch this off.
 
aop_flag (default: A)
The flag the user should have to be auto-opped. NOTE: it is recommended not to use "a" because then the script wouldn't have any use anymore. NOTE: user also needs global or channel +o.
Valid settings: Every flag that isn't used :-) But capitols are preferred.
 
aop_timer (default: 200)
Maximum frequency of checking whether a user needs to be opped (in seconds). The bot wil randomly take a frequency beneath aop_timer. Setting this to low will take away the effect of the script. I tried it with a botnet of 10 bots and a setting of 200 seconds and I got opped fast enough.
Valid settings: 1 or higher.
 
aop_bots (default: "")
This setting requires a space separated list of bots. If all of these bots are not on the channel, the bot will op itself. Please note that bots have to be in userfile and must have working hostmasks.
Valid settings: one bot like "athena", a list of bots like "athena hades hera", or "" to force the bot to op people always by itself
 
aop_test (default: "")
With this setting you can specify the channel in which the eggs should spit out their info when you use .aop_test
Valid settings: With "" the bots won't spit anything out, else you could use one channel name.



FAQ

Q:  Why does this script and chanlimit.tcl look so much alike
A:  As I noted above, this script is based upon chanlimit.tcl. I thought the way chanlimit works could be a good way to solve this problem and why program the same thing twice :-)
Q:  I have a question, but it's not listed here.
A:  Feel free to contact the author at evolver@blue.penguin.nl



Contact

You can contact me via E-Mail at evolver@blue.penguin.nl, at ICQ 46683643 (tell me who you are and what you want or I'll ignore you) or catch me on irc when I'm not called Evo|weg #eggdrop. (IrcNET)


DISCLAIMER

aop.tcl is provided 'as is' and without warranty of any kind. You may use it own will as long as the author is NOT held responsible for ANY damage caused by the usage of this script, neither direct or indirect.
You may modify the script and all belonging files as long as you keep this copyright-text, include a short description of all changes, and send a copy to the author (e-mail: evolver@blue.penguin.nl).



©2000 by Evo|ver@IrcNET, 23 August 2000. CONTACT