BitchX Poser Script v13 for Eggdrop By WoLf

#########################################################################
## Extract the source file "bitchx-v13.tar.gz" in your bots "scripts"  ##
## directory, then to load this file add the following line to your    ##
## bots config file: source scripts/bitchx-v13/bitchx-v13.tcl          ##
#########################################################################

Changes in v13:

#########################################################################
## Added by WoLf v13 (2-28-99)                                         ##
##                                                                     ##
## New Changelog file, the bitchx tcl was getting to large.            ##
##                                                                     ##
## New packaging setup, now the tcl comes with a Changelog.txt, which  ##
## is in a bitchx-vXX directory. The XX will correspond with the tcl   ##
## version number. So to install the tcl you would                     ##
## "tar -zxvf bitchx-vXX.tar.gz" the file in your bots "scripts"       ##
## directory. Next you will need to edit your bots config file, and add##
## the following: "source scripts/bitchx-vXX/bitchx-vXX.tcl". Please   ##
## remember XX will equal the tcl version number.                      ##
##                                                                     ##
## Added a '.setclient' option to change the BitchX verison with Tcl,  ##
## and changed the old '.setclient' to '.setscript'. Please take note  ##
## of this.                                                            ##
##                                                                     ##
## The current BitchX versions to cloak are:                           ##
##                                                                     ##
## 0 = BitchX-75      - Tcl1.5                                         ##
## 1 = BitchX-75p1    - Tcl1.5                                         ##
## 2 = BitchX-75p2-9  - Tcl1.6                                         ##
## 3 = BitchX-75p2-10 - Tcl1.6                                         ##
## 4 = BitchX-75p2    - Tcl2.0                                         ##
## 5 = BitchX-75p3    - Tcl2.0                                         ##
##                                                                     ##
## Added a '.bxstats' which gives the bitchx version, tcl version,     ##
## system version, and script being cloaked.                           ##
##                                                                     ##
## Added by WoLf (3-1-99)                                              ##
##                                                                     ##
## Added a notifyaway variable, set this to 1 if you want the script   ##
## to show the Away/Back status messages in the partyline/log file.    ##
## This option was requested by EverRaver on Efnet.                    ##
##                                                                     ##
## Added by WoLf (3-3-99)                                              ##
##                                                                     ##
## Changeed the bold's in the ": Keep it to yourself!", the bold was   ##
## right before the "Keep", while in bitchx its right after the ":".   ##
## Thanks to EverRaver on Efnet for reporting it.                      ##
##                                                                     ##
##                                           -- WoLf (bmolner@usa.net) ##
#########################################################################

Changes in v12:

#########################################################################
## Added by WoLf v12 (2-18-99)                                         ##
##                                                                     ##
## First off, I would like to say thanks to the people that have been  ##
## emailing me suggestions/bugs/comments etc... I have replied to most ##
## of you, but have been very busy with school and homework. I haven't ##
## stopped the work on this script, just haven't had enough time.      ##
##                                                                     ##
## Changed the default kernel to 2.2.1, no biggy. You should however   ##
## set this kernel version to your actual shell kernel version.        ##
##                                                                     ##
## Split the ctcp OP and OPS replies into 2 different procs, so you    ##
## know exactly what ctcp your bot is recieving.                       ##
##                                                                     ##
## Added by WoLf v12 (2-20-99)                                         ##
##                                                                     ##
## Fixed the ctcp ECHO and ERRMSG replies, they were replying with more##
## than 60 characters (BitchX only responds to 60 characters or less)  ##
## if there was spaces in the ctcp message, and giving a tcl error     ##
## "missing close-brace". Thanks to EverRaver (everraver@home.com) for ##
## reporting the bug.                                                  ##
##                                                                     ##
## Special thanks to gh0ul` @Efnet for helping test the tcl for any    ##
## bugs that may have been unnoticed.                                  ##
##                                                                     ##
## Any comments, bugs, suggestions, patches/fixes etc... feel free to  ##
## to email me them, they are welcomed.                                ##
##                                                                     ##
##                                           -- WoLf (bmolner@usa.net) ##
#########################################################################

Changes in v11:

#########################################################################
## Added by WoLf v11 (12-15-98)                                        ##
##                                                                     ##
## Aligned the code a bit to make it look a bit neater.                ##
##                                                                     ##
## Fixed a /ctcp #Channel ops #channel, bitchx doesnt respond to this. ##
##                                                                     ##
## Fixed a /ctcp #Channel op #channel, bitchx doesnt respond to this.  ##
##                                                                     ##
## Fixed the /ctcp (nick/#channel) unban #channel reply, it was always ##
## said Access denied, it should say "BitchX: I'm not on that channel" ##
## if its not in that specified channel.                               ##
##                                                                     ##
## Fixed a /ctcp #Channel invite #channel, bitchx doesnt respond to    ##
## this.                                                               ##
##                                                                     ##
## Any bugs, questions, comments, email me them, this cloaker is       ##
## looking perfect, I have tested it well, and I don't see any flaws.  ##
##                                                                     ##
##                                           -- WoLf (bmolner@usa.net) ##
#########################################################################

Changes in v10+fix2:

#########################################################################
## Added by WoLf v10+fix2 (12-13-98)                                   ##
##                                                                     ##
## New email address! Please use this instead: bmolner@usa.net I was   ##
## NOT getting all messages sent to wolf@punkass.com. Sorry for any    ##
## problems you may have had.                                          ##
##                                                                     ##
## Fixed /ctcp nick ops #channel, was replying with access denided,    ##
## bitchx says "I'm not on #channel, or I'm not opped".                ##
##                                                                     ##
## Fixed /ctcp nick op #channel, was replying with access denided,     ##
## bitchx says "I'm not on #channel, or I'm not opped".                ##
##                                                                     ##
## Changed the autoaway from [BX-MsgLog On] to [BX-MsgLog Off], when   ##
## Msglog is on, bitchx replies with a message, when its off it does   ##
## not respond.                                                        ##
##                                                                     ##
## Throughly tested on eggdrop 1.1.5, said to work on 1.3.x, please    ##
## test it throughly on 1.3.x and drop me an email on how it works!    ##
## Please report ANY bugs you find.                                    ##
##                                                                     ##
##                                           -- WoLf (bmolner@usa.net) ##
#########################################################################

Changes in v10+fix1:

#########################################################################
## Added by WoLf v10+fix1 (11-17-98)                                   ##
##                                                                     ##
## Added the missing "is away: " in the plain bitchx away message.     ##
##                                                                     ##
#########################################################################

Changes in v10:

#########################################################################
## Added by WoLf v10 (11-15-98)                                        ##
##                                                                     ##
## Fixed the version reply for plain bitchx, was missing a bold.       ##
## Removed unused ctcp clink bind, (BitchX-75p1 doesnt have a clink    ##
## responce.                                                           ##
## Removed XMIT from clientinfo, BitchX-75p1 doesnt have this.         ##
## Added the missing IDENT to the clientinfo reply. (How could you miss##
## this?)                                                              ##
## Removed random versions, 75p2 isn't even released yet.              ##
## Removed random crackrock version and kept b9, no need for two       ##
## versions.                                                           ##
## Removed old commented out flood settings.                           ##
## Removed the extra space in plain bitchx autoaway message.           ##
##                                                                     ##
## Added (11-16-98)                                                    ##
##                                                                     ##
## Fixed a /ctcp #Channel echo, bitchx doesnt respond to this,         ##
## bitch-v9+fix.tcl and below do respond.                              ##
## Fixed a /ctcp #Channel errmsg, bitchx doesnt respond to this,       ##
## bitch-v9+fix.tcl and below do respond.                              ##
## Fixed the bug if you "clientinfo none" it returned the clientinfo   ##
## list, now it returns a errmsg.                                      ##
##                                                                     ##
## Works great on eggdrop 1.1.5, let me know about other eggdrop       ##
## versions. Find any bugs please let me know! You can find me on      ##
## Efnet nickname |WoLf|                                               ##
##                                                                     ##
##                                        -- WoLf (dawolf@punkass.com) ##
##                                                                     ##
#########################################################################

Changes in v9+fix1:

#########################################################################
## Added by blue v9fix1 (10-25-98):                                    ##
##                                                                     ##
## - Fixed another ECHO/ERRMSG bug (reported by robf@flips.net)        ##
##                                            -- blue (blue@tical.net) ##
#########################################################################

Changes in v9:

#########################################################################
## Added by blue v9 (10-20-98):                                        ##
##                                                                     ##
## Fixed a ctcp_denied bug that I was recently notified of (and also   ##
## corrected by YungBlood (yngblood@yungblood.ml.org) previously.  I   ##
## apologize for the lack of support, this is most likely my last and  ##
## final release.  Thanks for all the support -- hopefully you all will##
## find someone else to continue this project, I just don't have time  ##
## anymore also considering I don't have a shell that I can run eggdrop##
## on.  Out for good...                                                ##
##                                            -- blue (blue@tical.net) ##
#########################################################################

Changes in v8:

#########################################################################
## Added by blue v8 (6-5-98):                                          ##
##                                                                     ##
## Versions have been rolling too quickly, sorry.                      ##
## Fixed up FINGER nicely -- no longer random number (bad!)            ##
## Added by blue v8 (6-6-98):                                          ##
## Oh my -- do_away was using timer, fixed to utimer (oops)            ##
## Fixed evolver (6) autoaway (missed an underline)                    ##
## Added by blue v8 (6-11-98):                                         ##
## Used "catch" to set system var - suggested by sinkhole              ##
## Well, this is all I can think of -- uploading.                      ##
##                                                                     ##
## v8+fix: I obviously lack a brain, I just noticed slennox released a ##
##         v6 version that fixed various probs, I added these fixes    ##
##                                                                     ##
## v8+fix2: data released a fix and made me aware of ERRMSG proc       ##
##          overwriting ECHO, fixed this error.                        ##
##          slennox notified me of erroneous checking in ECHO/ERRMSG   ##
##          (BitchX only sends 60 chars for both these replies)        ##
##          released 8-30-98: sorry for lack of support :(             ##
##                                                                     ##
##                                            -- blue (blue@tical.net) ##
#########################################################################

Changes in v7:

#########################################################################
## Added by blue v7 (6-3-98):                                          ##
##                                                                     ##
## '.bxk  [#channel] (nickname) (reason)'                              ##
## '.bxkb [#channel] (nickname) (reason)'                              ##
## Kick/kickban clone of the script being cloned                       ##
## Fixed osmosis (5) version/sver                                      ##
## Support for random TCL versions                                     ##
## Keep BitchX versions/TCL versions accurate && 1-2 versions diff max ##
##                                                                     ##
## Added by blue v7 (6-4-98):                                          ##
## '.bxlk' bx lamer kick aka non-op kick                               ##
## v7+fix: Fixed a problem in bxkb - uploaded too soon ;{              ##
##                                                                     ##
##                                            -- blue (blue@tical.net) ##
#########################################################################

Changes in v6:

#########################################################################
## Added by blue v6 (5-31-98):                                         ##
## Early re-release, but added some nice features                      ##
## Noticed AutoAWAY was STILL default BitchX -- FIXED                  ##
## Nicely improved the AutoAWAY proc                                   ##
## Lots of different BitchX scripts to clone:                          ##
## (these are replies of the raw, unconfigured scripts)                ##
## 0 = plain bitchx                                                    ##
## 1 = crackrock                                                       ##
## 2 = neonapple                                                       ##
## 3 = tunnelvision                                                    ##
## 4 = argon                                                           ##
## 5 = osmosis                                                         ##
## 6 = evolver                                                         ##
## 7 = prevail                                                         ##
## 8 = osiris                                                          ##
## Put 'set cloak #' in your eggdrop config file, or set it below      ##
## Use '.setclient #' to change the client in dcc chat (easy access)   ##
## Fixed repetitive autoaway timer setting on .rehash'ing              ##
## Added .sv #channel/nick <- will send /sv just like a bitchx client  ##
#########################################################################

Changes in v5:

#########################################################################
## Added by blue v5 (5-30-98):                                         ##
## Sets random version replies so each bot is more 'unique'            ##
## Also cloaks crackrock (toggle)                                      ##
## Fixed flooding off (uh oh, built in flood prot not good enough)     ##
#########################################################################

Changes in v4 and below:

#########################################################################
## Started on a boring saturday, cold and icky. ( 11-16-96 )           ##
## Patched up the old CTCP reply so it looks like bX-71+ ( 6-3-97 )    ##
## Updated bxversion, patched a bug with ctcp invite. ( 7-2-97 )       ##
## Updated clientinfo for 72 (8-6-97)                                  ##
## Made a FINGER Reply, were totally undetected now! =] (8-30-97)      ##
#########################################################################

Credits:

#########################################################################
## BitchX Poser Script v4 for Eggdrop By: sinkhole (sinkhole@root.edu) ##
##                     v5  - v9       By: blue (blue@tical.net)        ##
##                     v10 - v13      By: WoLf (bmolner@usa.net)       ##
##                                                                     ##
##    Note: the original bitchx.tcl was wrote by sinkhole with A LOT   ##
##    of help from eRUPT, Thanks man!                                  ##
#########################################################################

