home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / lockdoor.zip / READ.ME < prev   
Text File  |  1995-06-06  |  5KB  |  88 lines

  1.  
  2.                         Multi-Line Door Control Setup
  3.                         -----------------------------
  4.                                                    by  Jerry Jones
  5.                                                 Fidonet 1:3602/212
  6.  
  7.         Many SysOps that operate two line systems or even that operate a single
  8. line system but use the local session for their personal login access might
  9. like to have a single-user door "locked" when another user is already in that
  10. door. In addition, it would be nice to let the other user, the one trying to
  11. enter the locked door, know that the door is in use at that time. So, in light
  12. of that need (one that I have with a two-line board) I devised a system of
  13. using Adept's menus, scripts and REXX command files to control my doors and to
  14. check for a door being in use and then responding correctly.
  15.  
  16.         The set of files enclosed in this archive are the command files to run
  17. a Barren Realms Elite InterPlanetary game. This includes the BRE to Adept .CMD
  18. file to process the BRE generated .MSG files and make the appropriate Adept
  19. file attaches. The following explains how I have gone about incorporating these
  20. command files into the Adept menuing system to get the desired results.
  21.  
  22.         Ok...first of all, I know BRE is maybe not the best example to use for
  23. this since BRE does generate its own little "in-use" message but I wanted to
  24. include the adaptation of the BRE2AD.CMD file the was created by Dave Tenney
  25. and myself. Ok..so I'm really into BRE right now too...so I hope you have a
  26. need for this and I hope you have as much fun with it as I have.
  27.  
  28.         Following is the setup that you have to use to make this combination
  29. work properly. The first thing you need to do is convert the menu entry that
  30. you are using to drive your door from an Adept menu type 801 to a type 10.
  31. This makes Adept call a script from the Adept\Menus directory. My entry in
  32. the door.menu file looks like this:
  33.  
  34.         N ,10 ,,brenet.cmd,0
  35.  
  36. instead of like this:
  37.  
  38.         N ,801,,cmd.exe /c breip.cmd {LN,0
  39.  
  40.         Next you put the BRENET.CMD file in the Adept\Menus directory and the
  41. BREIP.CMD file in the Adept directory. The BRENET.CMD file will test for the
  42. existence of a flag file in the Adept\Doors\Breip directory. If the flag does
  43. not exist the BREIP.CMD file is called using the AdeptMenuType function from
  44. AdeptREXX like so:
  45.  
  46.         AdeptMenuType(linenum,801,'cmd.exe /c breip.cmd {LN')
  47.  
  48. and the BREIP.CMD file will copy the flag file into the door directory while
  49. the current user is using the door..."locking" the door. If another user comes
  50. along and tries to access the same door while the first user is still playing
  51. then the BRENET.CMD file will check for the flag, find it and display a nice
  52. little message to the user stating that the door is in use..come back later.
  53. When the first user leaves the door BREIP.CMD will delete the flag file and
  54. then call the BRE2AD.CMD to convert the BRE .MSG file attaches, if needed, to
  55. Adept file attaches. Upon deleting the flag file the door is "unlocked" and
  56. is now available to another user.
  57.  
  58.         The BRE2AD.CMD file is only needed if you are playing an InterPlanetary
  59. Barren Realms Elite game. If you check this file you will find that it is able
  60. to create "crash" packets or "hold" packets. This is so you can hold packets
  61. for those systems that would normally be long distance from you and either they
  62. are calling you or you wait until a timed event to call them at night. There
  63. are verbose comments in that file explaining how to modify it to work for your
  64. particular setup. Additional "hold" type nodes can easily be added to the file.
  65.  
  66.         That is about it except for the typical disclaimer kind of nonsense
  67. that anyone writing something like this must do...so here 'tis:
  68.  
  69.         This archive of programs is distributed on an as-is basis as freeware
  70. with no warranty as to their performance or with regard to the impact that
  71. they may have on your system. They have been tested thoroughly here at Enigma
  72. and have been found to perform the desired functions in my particular case.
  73. Should they cause any unexpected results on your system in your environment
  74. Jerry Jones and Enigma, A Piece of the Puzzle, will not be responsible for
  75. the consequences or held liable for any damages induced by your use of these
  76. programs.
  77.  
  78.         AdeptXBBS has got to be one of the greatest innovations in the history
  79. of bulletin board systems. This package offers more versatility and flexibility
  80. than any software that I have had cause to work with in 15 years of BBSing. I
  81. look forward to offering more contributions to the support of the Adept platform
  82. in the near future. I hope you find this contribution of value. Thanks...
  83.  
  84.                                         Jerry Jones
  85.                                         Enigma, A Piece of the Puzzle
  86.                                         FidoNET @1:3602/212.0
  87.  
  88.