|
16.10.2002 servctrl.tcl Component Documentation# servctrl.tcl for netbots.tcl v3.30 # designed to work with eggdrop 1.3.28 or higher # Johoho's Eggdrop Page - http://johoho.tuts.net/eggdrop/ # splitdetect.tcl copyright (c) 1999,2000 by Johoho <johoho@hojo-net.de> # netbots.tcl copyright (c) 1998-2000 by slennox <slennox@egghelp.org> ## servctrl.tcl component script v2.50.2, 16.10.2002 ## # History: # # v1.00.1, 22.04.2000 - initial release # v2.00.0, 28.04.2000 - extended the script # v2.10.0, 30.04.2000 - added an option to make not to crash on startup # v2.20.0, 11.05.2000 - fixed a rmserv bug and added klined reason # v2.21.0, 23.05.2000 - added two more command line options # v2.22.0, 28.05.2000 - fixed a timer bug # v2.23.0, 01.05.2001 - slighty(by approx. 10%) reduced amout of code (Abraham) # v2.24.0, 05.05.2001 - added checks of NOTES MODULE presence (Abraham) # v2.25.0, 18.05.2001 - added, fixed, optimized a lot of things (Abraham) # v2.25.0, 18.05.2001 - added entries expiration and changed format of file wich holds servers data (Abraham) # v2.26.0, 25.05.2001 - changed messages generated by script on entry removal (Abraham) # v2.27.0, 13.06.2001 - fixed one minor bug and changed some cosmetic details (Abraham) # v2.28.0, 17.06.2001 - changed flag req. for commands provided by that component (Abraham) # v2.28.1, 28.06.2001 - added temporary! workaround for bug in eggdrop code (Abraham) # v2.29.0, 13.07.2001 - added: rrmserv, fixed: non working in sometimes version reporting (Abraham) # v2.30.0, 16.07.2001 - added: rservprob, fixed: some bugs in .rrmserv (Abraham) # v2.30.1, 17.07.2001 - fixed: missing rservprob in netbots cmds index (Abraham) # v2.30.2, 19.07.2001 - added: rklines, rrestriced, runauthorized cmds (Abraham) # v2.30.3, 28.08.2001 - fixed: rmserv & runathorized cmds bugs, compacted s component code (Abraham) # v2.30.4, 27.11.2001 - cleaned/optimised code, replaced some dirty hacks by more elegant code (Abraham) # v2.40.0, 09.02.2002 - removed: notes support, optimised code, added: -all option to rmserv/rrmserv commands & # v2.40.0, 09.02.2002 - replaced: -v option in various cmds by scver/rscver cmds (Abraham) # v2.50.0, 09.10.2002 - fixed: last (I hope so) bug in servctrl, which could cause sometimes bot's "lockup" & # very high CPU power consumption. # v2.50.1, 14.10.2002 - two small typos.. still working on removal of 2-nd occurence of code which may cause problems. # v2.50.2, 16.10.2002 - fixed: 2nd occurence of problematic code .. at least !!! # more detailed history is provided in script file. # thanks slennox for netbots.tcl # thanks to Abraham for ideas/bugreports/feeback [and coding :-)]
Please note that this component is fully compatible with netbots.tcl v3.15 - 3.30 by slennox IndexDescriptionThis script provides extended server control support to eggdrop. If notices when a connection to an irc server is restricted, unauthorized or denied (k-lined). It logs those servers in a file and removes those servers from the server cycling queue. Checks against k-lines, restricted or unauthorized connections can be turned on/off in netset.tcl file.Servers which were registered to be not bot friendly can be removed later from the file by a dcc command. Commands MSG/DCCDCC Commands.servprob (t|-) - list all servers which make trouble.rmserv (t|-) - remove a server from bad servers list .rrmserv (t|-) - remove a server from bad servers list on .klined (t|-) - show all servers where the bot is k-lined .rklined (t|-) - show all servers where the netbots are k-lined .restricted (t|-) - show all servers where the bot is restricted .rrestricted (t|-) - show all servers where the netbots are restricted .unauthorized (t|-) - show all servers where the bot is unauthorized .runauthorized (t|-) - show all servers where the netbots are unauthorized
Further help is available via the netbots help system. Use .nethelp
netset.tclTo install this component properly you have to copy it to your netbots directory and add these lines to your netset.tcl conf:
Settings Documentation
FAQ
ContactYou can contact me via E-Mail at johoho@hojo-net.de, at ICQ 2499577 (tell me who you are and what you want or I'll ignore you) or catch me on irc usually around 18-24 UTC+1 in #eggdrop. (IrcNET)DISCLAIMERservctrl.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: johoho@hojo-net.de). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||