Ŀ
                                BADUSER!                                    
*                     Copyright 2004 - BBSFiles.com                          *
*                                                                            *
*                               original                                     *
                     COPYRIGHT 1991,95 T&J Software                         
                                                                            
                                                                            
                      VERSION 3.00     10/11/95                             


LATEST VERSION:
===============
Please visit http://BBSFiles.com for the latest version of this program.

LEGALITIES:
===========
THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED "AS IS" WITHOUT
WARRANTY, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO ANY
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
IN NO EVENT SHALL ANYONE INVOLVED WITH THE CREATION AND PRODUCTION OF THIS
PRODUCT BE LIABLE FOR INDIRECT, SPECIAL, OR CONSEQUENTIAL DAMAGES, ARISING
OUT OF ANY USE THEREOF OR BREACH OF ANY WARRANTY.

EVIDENTLY THERE ARE SOME BONEHEADS OUT THERE WHO WRITE PROGRAMS FOR
TBBS SYSTEMS AND LIKE TO BREAK COPYRIGHT LAWS BY COPYING DOOR SOFTWARE
INCLUDING THE SCREENS THAT ARE USED. LET IT BE KNOWN, YOU WILL BE
HEARING FROM US.

DISTRIBUTION:
=============
You may make this file available for downloading from your BBS or you may
upload it to any BBS of your choice, provided that you do not make any
changes to the contents of the archive (ZIP file). The archive and its
individual contents may not be used by any service that charges any money
whatsoever, without the written permission of the author.



PROGRAM DESCRIPTION: Have you ever had users that constantly drop carrier in
~~~~~~~~~~~~~~~~~~~  door games? Do you have some users who cry over the
scores etc..? Now you can lock these users from the doors of your choice!
BadUser will check a text file maintained by you -- and will keep these
unwanted users from playing those selected games/programs. The nice thing
is they won't know what is wrong (if you select the STANDARD configuration).
BadUser sends them no sign that it is being run except for a fake ERROR
message which says "COM Port Error -- Returning to BBS". In CUSTOM mode,
you may make and send a ANSI screen to the user. If BadUser finds a "bad
user" it will create a file called BAD.BAD. The DOOR.BAT file will see it
and skip the main door program and head back to the BBS.

INSTALLATION: Edit the FOUR lines in the BADUSER.CFG file to something like
~~~~~~~~~~~~  the lines listed below:

LINE 1: (One of the following type lines)

C:\PCB\PCBOARD.SYS  <=-  (Full pathname of your PCBOARD.SYS file)
C:\PCB\USERS.SYS    <=-  (Full pathname of your USERS.SYS file)
C:\BBS\DOOR.SYS     <=-  (Full pathname of your DOOR.SYS file)
C:\BBS\USERINFO.DAT <=-  (Full pathname of your USERINFO.DAT file)
C:\BBS\CALLINFO.BBS <=-  (Full pathname of your CALLINFO.BBS file)
C:\BBS\DORINFOx.DEF <=-  (Full pathname of your DORINFOx.DEF file
                          where 'x' is the BBS Node number.
C:\BBS\SFDOORS.DAT  <=-  (Full pathname of your SFDOORS.DAT file)

LINE 2: (BBS Name)
T&J Software        <=-  (Change this to your BBS name)

LINE 3: (Sysop's first name)
Tom                 <=-  (The Sysop's first name)

LINE 4; (Sysop's last name)
Wildoner            <=-  (The Sysop's last name)

BATCH FILE SETUP:
~~~~~~~~~~~~~~~~
ECHO OFF
CD\WC30\DOOR\LEMON
IF EXIST BAD.BAD DEL BAD.BAD
BADUSER BADUSER.CFG
IF EXIST BAD.BAD GOTO QUIT
LEMON LEMON.CFG
:QUIT
IF EXIST BAD.BAD DEL BAD.BAD

1: Turn ECHO OFF -- not needed
2: Change to your door directory.
3: Run BadUser -- if a bad user is found the program will create a
   small file called BAD.BAD.
4: Checks to see if BAD.BAD was created -- if it was it will skip to
   QUIT and bypass the real door. If the BAD.BAD file is not found
   your real door will operate as normal.
5: Your actual door program (however many lines it takes).
6: Batch file branch if a bad user was found.
7: Delete the BAD.BAD file if it is there.

To run in LOCAL mode simply enter:  BADUSER LOCAL

SETUP: Pull up the SYSOP.CFG file and make the required changes. Descriptions
~~~~~  are listed in the SYSOP.CFG file.

Multinode Note: This Door is multi-node  compatible so you may run more than 1
~~~~~~~~~~~~~~  node from the same .CFG file provided the path to your system
file (DORINFOx.DEF, CALLINFO.BBS, etc) is exactly the same unless you are using
environment variables, (q.v.)

Environment Variables: PCBoard automatically creates the %PCBDRIVE% & %PCBDIR%
~~~~~~~~~~~~~~~~~~~~~  environment variables. Non-PCBoard systems may also use
these variables by including the following in either your BBS batch or
AUTOEXEC.BAT

  SET PCBDRIVE=C:               <- Drive letter of your BBS files
  SET PCBDIR=\BBSDIR            <- Path to your BBS files

Then in your Door .CFG file instead of putting C:\BBSDIR\DOOR.SYS, you
would put %PCBDRIVE%%PCBDIR%\DOOR.SYS. This allows you to use just one
.CFG file for multi-node operation!

To specify a non-standard IRQ, put the IRQ number after the .CFG on the
command line.  For example:

     BADUSER BADUSER.CFG /5

or using the PCBDRIVE procedure:   SET IRQ=5   and use

     BADUSER BADUSER.CFG /%IRQ%

This tells the program to use IRQ 5 instead of the standard IRQ.

  Had reports of conflicts when using non-standard IRQ's on Novell/Netware
 systems. Seems Novell also uses the / character so something went screwy
 somewhere. So I added the * (asterisk) which may be used instead of the /
 in case of a conflict. In other words, /%IRQ% and *%IRQ% will both work
 and are interchangeable.

When specifying the location of the system file on line 1 of the doors .CFG
file, you may use the environment variables %pcbdrive%, %pcbdir%, %pcbnode%,
and %wcnodeid%. Some examples:
 PCBoard: 
   USERS.SYS in C:\PCB           - %pcbdrive%%pcbdir%\USERS.SYS
   USERS.SYS in C:\PCB\NODE1     - %pcbdrive%%pcbdir%\NODE%pcbnode%\USERS.SYS

 Wildcat!:
   USERINFO.DAT in C:\WC\NODE1   - C:\WC\NODE%wcnodeid%

Non-PCBoard systems may use the PCB environment variables by setting them
in either AUTOEXEC.BAT or in the batch that runs the door. For example:
 SET PCBDRIVE=C:
 SET PCBDIR=\BBSDIR
 SET PCBNODE=1

Fossil Driver Support: DoorFrame supports the use of Fossil drivers.  To tell
~~~~~~~~~~~~~~~~~~~~~  your Door to use the Fossil driver instead of the
standard COM ports, just put /FD on the command line when running the door.
For example:

     MYDOOR MYDOOR.CFG /FD

indicates that a Fossil driver is present and should be used. If no Fossil
driver is detected, DoorFrame will print a message to that effect and exit
the door gracefully.

Sysop Keys:
~~~~~~~~~~
F3    -  Toggles the printer On/Off. Value is passed to PCBoard and/or
         written to DOOR.SYS and USERS.SYS
F4    -  Toggles the Page Bell on/off. Value is passed to PCBoard
         and/or written to DOOR.SYS and USERS.SYS
F5    -  DOS Shell. Allows SysOp to exit to DOS from inside a DOOR.
F7    -  Toggles the Caller Alarm On/Off. Value is passed to PCBoard
         and/or written to DOOR.SYS and USERS.SYS
F8    -  Returns the caller involuntarily to the BBS.
F9    -  Toggles the local display On/Off. Value is passed to PCBoard
         and/or written to DOOR.SYS and USERS.SYS
F10   -  Activates SysOp CHAT mode within the DOOR.
ESC   -  Deactivates CHAT mode.  DOOR is resumed.
UP    -  Give the caller extra time while in the DOOR.  
DN    -  Subtract time from the caller while in the DOOR. 
HOME  -  HELP key for Status Line options.
ALT-N -  SysOp next on toggle. Value passed to PCBoard. (PCBoard only)
ALT-X -  PCBoard will exit after current caller logs off. Value is
         passed to PCBoard. Not available on non-PCBoard systems.

FUTURE VERSIONS: Let me know what you would like to see!
~~~~~~~~~~~~~~~
VERSION HISTORY:
~~~~~~~~~~~~~~~
Version 1.00 ......... First release. 09/21/91
Version 2.00 ......... Updated the door with new routines 03/14/92.
Version 2.10 ......... Updated the door with new routines and added
                       the CUSTOM or STANDARD option. 05-15-92
Version 2.20 ......... Updated to newer door routines. 10-12-92
Version 2.30 ......... New door routines, added support for fossil
                       drivers. 11-27-1992
Version 2.40 ......... Added support for COM 1-15. 06-05-1993
Version 2.50 ......... Added better support for Wildcat IM and
                       PCBoard/M versions. Added better internal
                       error checking routines.
Version 2.60 ......... Updated to DoorFrameX v3.1. 01-01-1994
Version 2.70 ......... By special request I added a SECURE.DAT file so
                       you may keep people from doors by security
                       level. 01-09-94
Version 2.80 ......... Recompiled using latest DoorFrameX routines.
                       01-02-95
Version 3.00 ......... Recompiled using latest DoorFrameX routines.
                       The config files have been rewritten so check
                       the new layout of the SYSOP.CFG file. 10-11-95

REGISTERING:
~~~~~~~~~~~
None Required

