ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» º ÚÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄ¿ º º ³ °°°° ³ ³ °°°° ³ º º ³ °°°° ³ . ³ °°°° ³ º º ³ °°°° ³ ³ °°°° ³ º º ³ °°°° ³ ³ °°°° ³ º #######º ³ °°#######³ °°°° ####### ####### ####### # º# ³ °#°° ³ # °°°°#³ º # # # # # #### ##########ÄÙ ########## º ######### ######### ######### # º#OÚÄÄ#ÄÄÄ¿ #ÄÄÄÄÄ#¿ º # # # # # #######º ³ °°#######³ °°°° ####### ####### ####### º ³ °°°° ³ ³ °°°° ³ º º ³ °°°° ³ ³ °°°° ³ º º ³ °°°° ³ ³ °°°° ³ º The Door Manager. º ³ °°°° ³ ³ °°°° ³ º The COMPLETE door systems º ³ °°°° ³ ³ °°°° ³ º manager for Sysop's. º ÀÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÙ º ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°°±±±±±±±±±²²²²²²²²²ÛÛ Table of Contents ÛÛ²²²²²²²²²²±±±±±±±±±±°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ DISCLAIMER.........................................................Page 1 WHAT IS IT?........................................................Page 2 SYSTEM REQUIREMENTS................................................Page 3 COMMAND LINE OPTIONS...............................................Page 4 COMMAND LINE USEAGE.............................................Pages 5-9 ERRORLEVELS........................................................Page 10 BATCH FILES........................................................Page 11 BATCH FILE SAMPLE..................................................Page 12 CREDITS............................................................Page 13 REGISTRATION.......................................................Page 14 ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°°±±±±±±±±±±±±²²²²²²²²²²ÛÛ Disclaimer ÛÛ²²²²²²²²²²±±±±±±±±±±±±°°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Page 1 Warning: I, Wayne Greer do not accept any responsiblity for loss, personal or commercial, incurred while operating this program. The first time you execute this program you are agreeing to assume full responsibility for any and all damages that may result and you execute this program at your own risk. There is no warranty of any kind, expressed or implied including but not limited to warranties of merchantability and/or fitness for any purpose. There is no liability for any damage to data, property, or persons that may be caused directly or indirectly by the use of this program. This program is being release under the Shareware concept. Shareware is NOT freeware or public domain software. Shareware is a wonderful concept, it allows you to try a program first before you purchase it. Your use of this program for more than 30 days combined total use constitutes your agreement to abide by its licensing requirements. You agree to either register the program or stop using it. ANY BBS operating as a fee oriented BBS in which user fees are charged for any access level, this program is considered a commercial product and requires registration. Registering the program will entitle you to ALL updates and new releases. You will find a registration form at the end of this document. If you find this program useful, please fill it out and register your copy. "DoorMan" and "The DoorManager" are copyrighted by Wayne Greer and ALL rights are reserved. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°°±±±±±±±±±±²²²²²²²²²²ÛÛ What is it? ÛÛ²²²²²²²²²²±±±±±±±±±±±°°°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Page 2 The DoorManager is a complete management utility for BBS SysOp's. Some of Doorman's features are:  Limit users to the number of times per day they can access any door you specify.  ^Limit any user from accessing any door via a twit file without changing their access level. or reconfiguring your entire BBS for a few bad users.  Take any door off-line and mark it DOWN by adding its name to one file, no need to reconfigure your entire BBS.  Lock/Unlock specified doors for Multi-node systems. This will prevent other nodes from accessing doors that are not Multi-node compatible.  ^Limit the hours during the day or night any door you specify can operate.  Substitute Locked DTE rate for callers baud rate.  Limit users time upon entering a door.  Support for PcBoard.sys(14.x), Dorinfo1.def, Dorinfo2.def, Door.sys, Callinfo.bbs, and Chain.txt.  ^Config file option that is NOT cryptic, place commands there in any order and any number of options. Command line options will have priority over the config file.  ^In development, conversion routines to generate to/from different callers formats. Current versions create FROM PcBoard.sys and Door.sys to any format mentioned above. ^ Feature available when registered. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°°±±±±±±±²²²²²²²²²²ÛÛ System Requirements ÛÛ²²²²²²²²²²±±±±±±±±°°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Page 3 This program REQUIRES you have a 100% IBM compatible computer, MS-DOS 3.x or higher, an accurate system clock, and requires you to have a working knowledge of creating/editing batch files and working in a dos environment. Multi-node systems MUST have SHARE installed for proper file management. This program will NOT work on directories that have extensions. Example: C:\BBS.1\Program.exe where the directory BBS.1 IS a valid directory name but is not supported with this program. The Text files you create MUST end each line in a cr/lf. Every text editor I have ever used does this already, however some may not. If you run into problems in reading some of your data, this may be the reason why. An easy way to check this is to create a new file with your editor and save it without entering any data, next check the file size of the new file. Editors that create a CR/LF will have a file size of 2 bytes. If your editor only uses a LF only it will be 1 byte in size. Another way to check, if your favorite text reader has a HEX mode toggle, read a file you have created, each line should end with a 0A 0D at the end of each line which resembles a single music note followed by a white square with a hole in the center. This program also requires you read and understand this doc file, and you fully understand how to use this program. When you register this program, you will be sent a registration number. Use your text editor and create a file called DOORMAN.KEY in the same directory where DOORMAN.EXE is located. This file should contain on line 1 your name and case is significant! (John Doe is NOT the same as JOHN DOE). on line 2 place the registration number you will be sent. This program was written in Borlands Turbo C++. It has been sucessfully tested on a 286 single node BBS and a Multi_node BBS running under DESQview 2.42 and QEMM 6.02 with no problems. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°±±±±±±±±²²²²²²²²²²ÛÛ Command Line Options ÛÛ²²²²²²²²²±±±±±±±±±°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Page 4 Since this program is highly configurable and does so many things, at first glance it may seem a little overwhelming. It is suggested that you do not look at the entire range of options your first time. This will simplify learning all about this program. Pick one or two options and configure them, look and see how it works, make changes as needed, then when you feel comfortable with what you've done, add more. When entering commands you may specify a '-' (dash) or a '/' (slash), and may enter them in any order, however some commands REQUIRE you specify other commands. The commands are not CaSe SenSiTive. When we mention to enter the Full path and file name, this is best, however we will default to read the file in the current directory. Example, if you are currently in the c:\bbs directory you can change the first example shown below to read /adoorman.cfg. /ac:\bbs\doorman.cfg ^(A)lternate parameters. /Bc:\bbs\pcboard.sys (B)bs callers file. location AND filename. /Cc:\doors\door.sys ^(C)onvert to Door.sys file format. /Dname (D)oor name, Max of 8 characters! /Fc:\bbs\timefile.dat (F)ile that contains # of times data of users. /H38400 (H)igh speed lock, specify locked rate. /Lc:\bbs\nodelock.dat (L)ock data file full path/file name. /M30 (M)inutes to allow maximum. /R (R)estore original callers file. /N2 (N)umber of times to allow per day in the door /Tc:\bbs\twitfile.dat ^(T)wit data file, full path/file name /Uc:\bbs\nodelock.dat (U)nlock data file, full path/file name /Q ^(Q)uiet mode, turns off beeps. Doorman will give you a brief list of these commands. Doorman /? will list the error levels for quick reference. ^Features available when registered. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°±±±±±±±±²²²²²²²²²²ÛÛ Command Line Useage ÛÛ²²²²²²²²²±±±±±±±±±°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Page 5 Commands Description ~~~~~~~~ ~~~~~~~~~~~ /B (B)BS information. This is the FULL path AND file name of the BBS caller information. your BBS creates. Example: /bC:\BBS\PcBoard.sys (note there is no space). This is required on almost all usage. Supported types are Dorinfo1.def, Dorinfo2.def, Door.sys, Chain.txt, Callinfo.bbs and PcBoard.sys(14.x versions). /D (D)oor name. This is the name of the door we are working with. You Cannot use the name NONE or DOWN. They are reserved words for this program which we will explain later. There is a limit of 200 doors in this file. I figured 200+ node BBS's aren't really interested in doors anyway. Also Door names cannot begin with a number. Example: /dXWAR. /Dnone <-The word 'NONE' is NOT ALLOWED! /Ddown <-The word 'DOWN' is NOT ALLOWED! /D1war <-Begins with a number, NOT ALLOWED! /Nx (N)umber of times user is allowed to access the door per day. The 'x' in the /Nx represents the actual number of times per day to allow. Example: /N2 This would allow the caller 2 times per day. You must of course specify which door with the /D command and also you must use the following /F command. /F (F)ile that contains the times per day information. Example /Fc:\bbs\timetrip.dat This data is stored in a normal text format like: 01-15-92 XWAR JOHN MODEMER 01-15-92 XWAR JIM MODEMER 01-15-92 SLAP BETTY TWITSTER etc. If this file does not exist, it will be created automatically, you will have to manually edit this file from time to time, or either delete it in your nightly event maintanence. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°±±±±±±±±²²²²²²²²²²ÛÛ Command Line Useage ÛÛ²²²²²²²²²±±±±±±±±±°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Page 6 /T (T)wit file. This is a full path/file name to your twit file. This is a file you will have to create with your favorite text editor. This program does not write to or modify information in this file. In this file you will have to add the name of the door and the caller's name. This will prevent THAT caller from accessing any door you have specified in the file. This is excellent for limiting access to a specific user or users without altering their access level or reconfiguring your entire BBS's access levels for a few callers. Previously we stated the NONE and DOWN were reserveds word for a door name and this option is the reason why. Your twit file MUST be formatted in this way: XWAR JOHN SMITH SLAP JOHN SMITH NONE BETTY MODEMER MOPE 23:00 07:00 GREN DOWN etc. Please use only CAPITAL letters when entering this data. Time of operation of the Door must be in Military format. The example above means that John Smith cannot play XWAR or SLAP games. Betty Modemer does not have access to any door because of the NONE reserved keyword. The door MOPE is offline between the hours of 11:00 p.m. and 7:00 a.m. The door GREN is down and cannot be accessed. You must of course tell us where this file is located and its filename. Example: /Tc:\bbs\twitlist.dat This is the full path/file name to the data file containing the twit list. This feature is available when registered. /L & /U (L)ock and (U)nlock. If you are using a Multi-node BBS you may have certain doors that cannot be accessed at the same time by multiple nodes. This option will allow you to lock and unlock doors by name. Example /Lc:\bbs\locknode.dat to lock a door. /Uc:\bbs\locknode.dat to unlock a door. You must also specify the door name with the /D command. Example: DOORMAN /Dhwar /Lc:\bbs\locknode.dat This would LOCK the door named HWAR from other node access. DOORMAN /dgwar /uc:\bbs\locknode.dat This would UNLOCK the door name hwar and allow other nodes to access it. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°±±±±±±±±²²²²²²²²²²ÛÛ Command Line Useage ÛÛ²²²²²²²²²±±±±±±±±±°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Page 7 /Mxx (M)inutes (M)ax to allow in this door. The xx of the /Mxx is the number of minutes. Example /M30 This will not increase the callers time to 30 minutes, it will reduced it to 30 minutes provided the caller has 30 or more minutes remaining of board time. Please note, the caller information file you specify with the /B command will have a file created with the same name except will have an extension of .!!! See notes on the /C Conversion routine. If you use Dorinfo1.def, a file will be created called Dorinfo1.!!! in the same directory as Dorinfo1.def is located. This is necessary because of the following command. /R (R)estore. If you reduce a callers time, you may need to restore their original caller info files on returning to the BBS. If the caller has 60 minutes and you reduce it to 30, they stay in a door for 25 minutes, when they return to the BBS they may have only 5 minutes left. Example /rc:\bbs\Chain.txt There will be a file called Chain.!!! in the BBS directory We will simply copy this file over the Chain.txt file that is currently there and then delete the .!!! file. When your BBS loads, it will read the original caller info file and the caller will have their remaining time restored. if your BBS does not require this file, just delete it somewhere in your batch file. /Hxxxxx (H)igh speed lock. Some BBS types do not provide a locked baud rate, instead providing the callers baud rate. If you run a high speed modem, you probably have some doors that require you substitute the callers rate with the locked DTE rate. Example /H38400 This would substitute the callers baud rate with 38400. Pcboard.sys file already contains both callers rate and locked rate and therefore will not be adjusted even if you tell it to. See notes on the /C Conversion. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°°±±±±±±±±±²²²²²²²²²ÛÛ Conversion Routines ÛÛ²²²²²²²²²±±±±±±±±±°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Page 8 /C (C)onvert. This command will convert from your type of caller info to any of these formats: Dorinfo1.def, Chain.txt, Callinfo.BBS, Door.sys, PcBoard.sys. The current version (2.2) of this program only converts FROM PcBoard.sys based systems such as PcBoard and FeatherNet, and from Door.sys to any of the formats mentioned above. PcBoard.sys and PcBoard.dat files MUST be located in the same directory. The PcBoard.dat file MUST conform to at least version 14.2 of that file format. You may include the complete path to the new file you would like to create and defaults to the current directory. Examples: /Cd:\doors\xwar\door.sys /Cdorinfo1.def etc. You must also specify where your current callers info file is located with the /b command. A complete command line would look something like: Doorman /bc:\bbs\pcboard.sys /cd:\doors\xwar\door.sys We hope to be adding more formats to convert to/from in the near future. If you limit the callers time with the /m command, and/or substitute the locked DTE rate with the /H command, only the new created file will have the changes. No adjustments will be made to your original BBS file. If you specify a conversion and also check for node lock status or twit file status, etc, these test will be checked and satisfied BEFORE the conversion will begin. If any of the above test fail for some reason, the conversion will not take place. There are of course some information available in some formats that cannot be found in others. If your BBS type does not have information available, certain values will be substituted. For example, PcBoard based systems have no provision for the callers birthday, this value will be substitued, etc. This Feature is available to registered users only. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°±±±±±±±±²²²²²²²²²²ÛÛ Command Line Useage ÛÛ²²²²²²²²²±±±±±±±±±°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Page 9 /A (A)lternate commands. This is the full path\file name of the file you may use (when registered) to store many of the commands mentioned above. Actually you may store almost everyone of them, it is not important these command be in any order in the config file, just create a normal text file and type in the options you normally would on the normal command line. Your file may look something like this: /tc:\bbs\twitlist.dat /bc:\bbs\dorinfo1.def /lc:\locknode.dat /uc:\locknode.dat etc... you may enter as few or many as you wish, ANY commands you enter on your command lines in your batch files will have priority over the config file. When locking and unlocking door, you still must specify a /l or a /u for lock or unlock since you may store both in the config file. DOORMAN /Ac:\bbs\doorman.cfg /l /dgwar Your command line told us where the config file was, we will read it and get the path\filenames of the twitlist, where your bbs caller information file is, the locknode data file. Next your command line told us to LOCK the door GWAR. A bit more creative would be to store the name of the door, and limit the number of times per day to say /n2 in the config file. If the name of the door is always the same, your callers would be allowed to play any two door(s) then they cannot play any other games and must spend their time in the message/file areas. This feature is available when registered. /Q (Q)uiet mode, a fatal error condition or an error establishing file access will inform you with a beep. If you wish to silence this warning, use the /q but this is not recommended. Unregistered users will here a beep from time to time anyway, the (Q)uiet option is available for registered users only. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°°±±±±±±±±±±±²²²²²²²²²²ÛÛ ErrorLevels ÛÛ²²²²²²²²²²±±±±±±±±±±±°°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Page 10 Next we need some method of making all of this work in your batch files that run your doors. This is done with the dreaded ERRORLEVEL. The errorlevels you will get are: ERRORLEVEL: Description: ~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 This is a fatal error, meaning we detected a error on trying to create or update a file, if you do not specify a proper file/path this error could occurs or else for some other reason the program just went nuts. 9 Invalid commands entered, some features require other commands to operate properly, at least one or more was missing. 6-8 Reserved for future options. 5 Door has been marked as DOWN via the twit file. 4 Door is outside specified hours of operation. 3 Caller is in the Twit list for the door you specified. 2 The caller has accessed the door you specifed the maximum number of times you specifed. 1 The door you specified is currently locked by another node. 0 All the options/checks etc you specified were successful. Although we make alot of test to make sure you have entered all the proper commands needed for successful operation, is may still be possible to get an ERRORLEVEL of 0 even if you have specified test and checks to be made, and you did not enter all of the other additional commands required to complete the operation. You have been warned, so make sure you understand how to properly use this program before you start. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°°±±±±±±±±±±²²²²²²²²²²ÛÛ Batch FIles ÛÛ²²²²²²²²²²±±±±±±±±±±±°°°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Page 11 Some notes on Errorlevels. In a batch file, errorlevels MUST be in desending order and errorlevels are tested for 'if greater than or equal to'. rem Sample batch file program.exe If ERRORLEVEL 5 goto DO_THIS if ERRORLEVEL 3 goto DO_THAT :DO_THIS doit.exe :DO_THAT someprgm.exe etc If the PROGRAM.EXE exits with an error level of 4, then the 'IF ERRORLEVEL 3 GOTO DO_THAT ' gets executed. You should write your batch files accordingly. DOS has a limit of 128 characters per command line. If you use all the options specified, you may run into problems. You may consider cutting down on your file names to use all the options. The following line may wrap around if you print this doc file, but it is 128 characters long and does execute on my system. Doorman /Bc:\bbs\node1\dorinfo1.def /Dxwar /H38400 /N100 /M100 /Lc:\bbs\nodelock.dat /Fc:\bbs\timefile.dat /tc:\bbs\twitlist.dat Don't forget, when you register, a config file can be created and you can store almost all of this information in the config file. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°°±±±±±±±±±±²²²²²²²²²²ÛÛ Batch FIles ÛÛ²²²²²²²²²²±±±±±±±±±±±°°°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Page 12 You might consider informing your callers to what is happening if they cannot access a door. I use a program called SENDCOM, an excellent program written and released into the Public Domain by Bill Shields. Here is a sample batch file I use on my system. REM Batch file starts here! CD\BBS doorman /Lc:\node.dat /TC:\TWIT.DAT /Dxwar /m30 /n2 /Bc:\bbs\pcboard.sys /Fc:\times.dat IF ERRORLEVEL 6 GOTO CONTINUE REM this gets ALL errorlevels 6 and above. IF ERRORLEVEL 5 GOTO DOWN REM Door has been marked down. IF ERRORLEVEL 4 GOTO HOURS REM Door is outside operating hours. IF ERRORLEVEL 3 GOTO TWIT REM User is a twit. IF ERRORLEVEL 2 GOTO TIMES REM Caller already accessed door 2 times today. IF ERRORLEVEL 1 GOTO LOCK REM Door is locked by another node. CD\WAR war war.cfg cd\bbs doorman /Uc:\node.dat /Dxwar REM Unlock the door for other node access. GOTO continue :HOURS sendcom 1 CR Sorry but that door is off-line between the hours of sendcom 1 CR 11:00 p.m. and 6:00 a.m. each day. Please try back outside sendcom 1 CR these hours. GOTO continue :DOWN sendcom 1 CR Sorry, but that game is currently off-line, please try another game. GOTO continue :TWIT sendcom 1 CR Sorry, the sysop has specified you are not allowed to play this game. GOTO continue :TIMES sendcom 1 CR Sorry, only 2 turns per day are allowed for XWAR. sendcom 1 CR Please try back again tomorrow. GOTO continue :LOCK sendcom 1 CR Sorry, that door in currently in use by another node. sendcom 1 CR Please try back again later. GOTO continue :CONTINUE BBS.BAT REM end of batch file. It looks a bit complicated but it is not really. Just experiment adding an option or two as you go if this seems too complicated, you'll get the hang of it. If you don't care to inform your callers, just run doorman on the next line just put 'IF ERRORLEVEL 1 GOTO CONTINUE' and just reload your board. ALL errorlevels 1 and up will get caught and will jump to the :continue section. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°°°±±±±±±±±±±±±±²²²²²²²²²²ÛÛ Credits ÛÛ²²²²²²²²²²±±±±±±±±±±±±°°°°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Page 13 The following programs/words appearing in this document are registered trademarks of their respective company or group. DESQview/QEMM Quarterdeck Office Systems IBM PC International Business Machines, Inc MS-DOS Microsoft, Inc Borland Turbo C++ Borland International, Inc DoorMan Wayne Greer The DoorManager Wayne Greer PcBoard Clark Development Company FeatherNet FeatherNet Software and/or Ron Pierce If any other copyrights held and not listed please inform me and I'll add it immediately to this document. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³°°°°°°°°±±±±±±±±±±²²²²²²²²²ÛÛ Registration ÛÛ²²²²²²²²²²±±±±±±±±±±°°°°°°°°°³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Page 14 Here comes the standard song and dance you've seen with many other programs. Over the last few years, I have become very dissapointed by people that would not register a program regardless of what it does or how well it does it. If you use this program and find it usefull, registering it is simply the right thing to do. As a sysop myself, I frequently run across programs that are basically worthless or the registration for what the program does is ridiculous. I have seen programs that do half as much as this one and sell for twice the price and more. A good program should be self evident and I believe the cost of this program for what it does is more than fair and very reasonable. You may registrations in U.S. Dollars or provide the credit card information stated below, or either call: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ ÛÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÛ ÛÜßÜßÜßÜßÜßÜßÜßÜß Wayne's World BBS ßÜßÜßÜßÜßÜßÜßÜßÜßÛ ÛÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÜßÛ ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ  (918) 665-2711 2400   (918) 665-0885 HST DS   1.5 Gig On-Line and growing  and register while on-line using your Visa/MasterCard. The registration cost is only $10.00. You will be sent a registration certificate within a few days. Your registration will be valid for ALL future versions of this program. Oklahoma residents and/or certificates shipped to Oklahoma addresses MUST include state sales tax. ^ ^ ^ Detach Mailer here ^ ^ ^ REGISTRATION FORM: Name to be registered:_____________________________________ < Only Sysops full real name will be registered > BBS Name :_________________________________________________ Voice Telephone number:____________________________________ BBS Telephone number:______________________________________ Your Complete mailing address: NAME:_____________________________ ADDRESS:_____________________________ CITY STATE & ZIPCODE:_____________________________ Comments about DoorMan:___________________________________________________ __________________________________________________________________________ __________________________________________________________________________ [ ] Doorman registration only..................$10.00 [ ] Doorman registration plus one year of BBS subscription, includes 1 hour per day and no file ratios Doorman registration is $6.00, BBS is $19.00..............................$25.00 [ ] Optional, I would like the latest version of the program sent to me on diskette. All disk are the same price. Please mark type below. Please help us with keeping cost down and only mark the minimum your system will allow. [ ] 5 1/4 LowDensity [ ] 5 1/4 High Density [ ] 3.5 LowDensity [ ] 3.5 HighDensity Diskette....................................$5.00 Please select form of registration: [ ] Check or Money order made payable to Wayne Greer. [ ] Visa [ ] Mastercard Card Number:_____________________________________________ Expiration:_____________________________________________ Name:_____________________________________________ (Name on the Credit Card) Signature:_____________________________________________ (required for credit card processing) Oklahoma residents, MUST include state sales tax. If you registering Doorman only, include sales tax on $10.00, Combination of BBS subscription and Doorman include sales tax on $6.00. For diskettes, add the additional tax on $5.00. NO ORDERS WILL BE SHIPPED TO OKLAHOMA ADDRESSES WITHOUT IT! ^ ^ ^ Fold at perf here ^ ^ ^ _____________________________ Place _____________________________ Stamp _____________________________ Here Wayne Greer P.O. Box 690891 Tulsa OK 74169-0891 ^ ^ ^ Fold again here ^ ^ ^ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX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XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ^ ^ ^ Detach at perf here ^ ^ ^ Directions for the instant mailer: Detach where shown. Fill out the form. Fold in half at the perf as shown so that the address is facing OUT. Fold again where indicated so that the address is STILL facing out. <<<-------------remove 'tractor feeds' (if any) on the edges here ---------------->>> Enclose your registration, tape or staple the edges, stamp it and mail. The post office may think this is an oversize envelope, if this is printed on regular 8 1/2 by 11 pages it IS NOT! it requires the same stamp as any regular envelope. You may of course use a regular envelope if you wish, detach the top portion of the mailer, fill it out and mail in your favorite envelope along with your registration. Orders that do not contain registration fees and incomplete forms will not be processed.