# desynch.tcl for netbots.tcl v3.15
# designed to work with eggdrop 1.5.3 or higher
# Johoho's Eggdrop Page - http://johoho.eggdrop.cx
# desynch.tcl copyright (c) 1999,2000 by johoho <johoho@hojo-net.de>
# netbots.tcl copyright (c) 1998-2000 by slennox <slennox@egghelp.org>

## desynch.tcl component script v1.10.1, 19.03.2000 ##

# History:
# 
# v1.00.0, 27.12.1999 - initial release
# v1.10.0, 27.02.2000 - fixed lot's of bugs
# v1.10.1, 19.03.2000 - changed header and readme :)

# Todo:
# 
# - make desynch check work
# - comparison of topics and modes so there'd be no not needed traffic

# thanks to daimonic for his help. thanks slennox for netbots.tcl

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

This script is for channels which get desynched. It checks for desynch and gives your the power to reset all channel modes, users, etc. to remove the desynch. This script is still beta and might have still some bugs. Report any if you find one please.


#### DCC commands (channel/global +m users)
.desynchcheck to check for desynch on a channel (not working atm)
.desynchremove to remove the desynch on a channel


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

## netset.tcl
# desynch.tcl
set nb_component(desynch) 1
set ds_topic "desynch should be removed by now!"


## Settings Documentation:

ds_topic  (default: "desynch should be removed by now!")
  Set here the string that should be used for the topic on desynch remove.
  Valid settings: an string enclosed by "". Should not be longer then your irc network allows the topic to be
