===============================================================================
                         -= The TeTsuYa Team Present =-
                   Undernet Channel Service Management Script
===============================================================================
                 
    This script mostly manage authentication to X (UnderNet Channel Service).

    Please, if you use this script send me a post card for collecting card 
    around the world :).

                                Mr RICHARD Yann
                            20, avenue des Cathares
                                 11700 Ppieux
                                     FRANCE
                            -----------------------

    You can download or check for new version of this script on
    for english users: http://mgm.fr.st/ <-- Click on english flag :)
    To join undernetcs :
        o Mailling list, write to: undernetcs-user-subscribe@egroups.fr
        o News letter, write to : undernetcs-announce-subscribe@egroups.fr

Requierement:
    o Eggdrop 1.6.x
    o inidb.tcl
    o Tcl 8.0 or higher.

    If you own an 1.4.x series mail me, and if a lot a people mail me I
    will made a special version for eggdrop 1.4.5 who are the lasted version
    of this series, I encourage you to upgrade to 1.6.x series ... but if you 
    have an 1.4.x upgrade to 1.4.5 if you cannot upgrade to 1.6.x.
        Official FTP site:
            ftp://ftp.eggheads.org/pub/eggdrop/source/1.4/eggdrop1.4.5.tar.gz
            ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/
        French mirror:
            ftp://ftp.grolier.fr/pub/eggdrop/source/1.4/eggdrop1.4.5.tar.gz
            ftp://ftp.grolier.fr/pub/eggdrop/source/1.6/

Features:

    o Multi-channel support: Each channel's owner can add, remove, active, 
      unactive it's channel.
    o Global owner can set eggdrop's username and password for Channel Service
      and delay with which the eggdrop verify authentication status.
    o Script manage SUSPEND reply. In this case the eggdrop verify each 'y' min
      if the access for the channel is already suspended. This feature prevent
      eggdrop from using too many bandwidth, and flooding X. Each channel owner
      can set 'y' to what he want.
    o Script manage AUTOMODE value, this prevent eggdrop from sending 'OP' 
      request to X while it isn't necessary.
    o Optimising for all message witch are sending to X and fix more priority 
      to 'LOGIN' and 'OP' message. less for 'DEOP', 'BAN', 'UNBAN', 
      'CLEARMODE', 'KICK' and  'INVITE'. other message are sending in
      the puthelp queue.
      This feature use the differents eggdrop's queues and the -next option of 
      queues.
    o Verify before sending command to X, that eggdrop have a suffisant access
      level to do this command. (ie. OP command need access level 100 min)
    o All Need-* are managed bye the script, need-invite, key, unban, limit
      is revolved by sending an invite request to X. need-op by op request ..
    o Managing RAW 401 reply, no such nick/channel and use it to know if
      a request to X was lost.
    o When eggdrop is deoped by user who are not global master, eggdrop 
      send a request to X for OP him and DEOP the agressor. If this user is 
      unknow eggdrop add a BAN level 25 to X's banlist.
    See UndernetCS.doc for more info about how to use it. See INSTALL file
    to know how to install it.

-------------------------------------------------------------------------------    
Copyright (c) 2001 RICHARD Yann.
-------------------------------------------------------------------------------
AUTHOR   : RICHARD Yann
NICK     : Ze
MEET ME  : On *UnderNet.org: #IRCPaladin, #Montpellier (FR), #Eggdrop.Fr (FR), 
                             #Eggdrop (EN).
MAIL     : Ze@administrateur.net
URL      : before long :) -- Old url: http://mgm.fr.st/
GREETS   : o Special thanks to SnAKeS, Maz, KURGAN, Toufou for hosting and 
             for supporting me. Vraiment un grand meri les gars ! @#&%$!!
           o Trajedia Del Arte, 19 rue des coles Laques, 34000 Montpellier,
             Official supplier of 'Cervoise' (Beer, lemon syrup and white wine).
           o All the TeTsuYa Team in whitch I'am a member.
             - TeTsuYa web page: http://tetsuya.fr.st/
           o All the Pipoteam in which I'am a member. Thx Bozoo to support
             me when I have my 'ragnagna' :)))
             - Pipoteam web page: http://pipoteam.fr.st/
           o QtMXf00iW/uK/XeuFe/x9vGA (Very special thanks).
-------------------------------------------------------------------------------
