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

## noautorejoin.tcl component script v2.01.1, 19.03.2000 ##

# History:
# 
# v1.00.0, 26.12.1999 - initial release, not public
# v1.20.0, 22.01.2000 - rewrote much of the code
# v1.20.1, 19.03.2000 - changed header and readme :)

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

As everybody knows, the autorejoin feature on kick in mirc is very lame and a pain in the arse. This script bans everybody who joins with autorejoin for a minute.

#### 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
# noautorejoin.tcl
set nb_component(noautorejoin) 1
set ar_chans {#lamest #foo}
set ar_seconds 4


## Settings Documentation:

ar_chans  (default: {#lamest #foo})
  specify the list of channels to work for
  Valid settings: one or more channels seperated by a blank " "

ar_seconds  (default: 4)
  how long does a user have to stay off channel before he can rejoin? (in seconds)
  Valid settings: an integer value
