06.05.2000


splitdetect.tcl Component Documentation




# splitdetect.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>

## splitdetect.tcl component script v2.02.0, 06.05.2000 ##

# History:
#
# v1.00.1, 26.12.1999 - initial release, not public
# v2.01.0, 14.01.2000 - public release with some fixed
# v2.01.1, 19.03.2000 - changed header and readme :)
# v2.02.0, 06.05.2000 - fixed a minor bug

# thanks slennox for netbots.tcl

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

Index




Description

This script joins channel &servers and listens for netsplits. A list of current netsplits can be accessed via partyline. After a set time netsplits are marked as critical, since people can nick-collide and take server op via the other server.
This script was written for IrcNET, so it might be useless on other networks.


Commands MSG/DCC

DCC Commands

.netsplits (m|m) - show all current netsplits

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:

# splitdetect.tcl
set nb_component(splitdetect) 1
set sd_criticaltime 25
set sd_lost 1440
set sd_ignore "rlinks.tu-ilmenau.de"
set sd_showall 1

Settings Documentation

sd_criticaltime (default: 25)
Only one bot should say something to you on irc. Set here your favourite one.
Valid settings: a botname
 
sd_lost (default: 1440)
Set here a time period after which a netsplited server is 'lost'
Valid settings: x minutes
 
sd_ignore (default: "rlinks.tu-ilmenau.de")
Some test server or hubs regulary disconnect. Normally you don't want to see them, insert them in this list variable
Valid settings: one channel like "rlinks.tu-ilmenau.de", a list of channels like "rlinks.tu-ilmenau.de hub.irc.pl"
 
sd_showall (default: 1)
Do you want .netsplits to display all splitted servers or just the critical ones?
Valid settings: 1 to enable, 0 to disable.



FAQ

Q:  I have a question, but it's not listed here.
A:  Feel free to contact the authot at johoho@hojo-net.de!



Contact

You 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)


DISCLAIMER

splitdetect.tcl is provided 'as is' and without warranty of any kind.



©2000 by Johoho@IrcNET, 06 May 2000. CONTACT