home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / opus / drlk223a.arc / DRLINK.CTL < prev    next >
Text File  |  1989-12-14  |  9KB  |  223 lines

  1. %                DRLINK v2.20 Sample control file
  2.  
  3. % Doorlink Control File. Very Similiar in Format to OPUS.CTL file You must
  4. % Use Key Words (IE, Modem, Sysop) in the same fashion you do your
  5. % OPUS.CTL file. This File -must- be compiled with DRLK_CTL.EXE each time it
  6. % is changed.
  7.  
  8. % These Lines are REQUIRED:
  9.  
  10. Modem COM1
  11. Sysop Chris Holten
  12. System C's Doghouse
  13.  
  14. % Amount of time you want to allow users on in DOORS for a single session
  15. % and total time per day.  This *Must* be in the format PER SESSION and
  16. % MAXIMUM TIME Per Day in  minutes..Similiar Principle to OPUS. This is 
  17. % optional for OPUS 1.10 users and -NOT- optional for OPUS 1.03 users.
  18.  
  19. %         Time per session  Max time per Day
  20. TWIT           15                15
  21. DISGRACE       45                45
  22. NORMAL         60                60
  23. PRIVEL         60                90
  24. EXTRA          90                180
  25. ASSTSYSOP      120               180
  26. TSYSOP         180               300
  27. ^ NOTE the T in front of SYSOP to designate the time allowed the
  28. % Sysop!!
  29.  
  30. % The rest of this stuff is OPTIONAL.
  31.  
  32. % Tell DRLINK which USER.BBS file you want updated with OUTSIDE time.
  33. % The user.bbs file won't be updated unless you use UPDATEUSER 
  34. % /Boutiside.bat on the DRLINK command line. _NEVER_ update the USER.BBS 
  35. % file if you are running DRLINK with a shell from OPUS. Only update the 
  36. % USER.BBS file when you run DRLINK as an O)utside EXIT <errorlevel> 
  37. % from Opus. If you don't understand what I am talking about put a % in 
  38. % front of UserBBS.
  39.  
  40. UserBBS E:\Opus103\USER.BBS
  41.  
  42. % The Name of the file you want DRLINK to write a log too. If you don't 
  43. % want a log, then put a % in front of DLOG
  44.  
  45. DLOG E:\Opus\DRLINK.LOG
  46.  
  47. % Take a walk on the wild side. This works with a CPI 9600 baud modem 
  48. % with the baud locked at 38400. Can't garantee it will work with yer 
  49. % HST or favorite FOSSIL. If you uncomment LOCKBAUD, then instead of 
  50. % automatically detecting the baud rate on the comport, DRLINK will set 
  51. % the baud to the LOCKBAUD Rate. You really don't need to use LOCKBAUD 
  52. % unless you want to use the MAXDOORBAUD to limit the baud rate setting 
  53. % that doorlink runs the doors at. If you use MAXDOORBAUD then doorlink 
  54. % will run the doors at the CONNECT baud rate of the user or the 
  55. % MAXDOORBAUD rate, whichever is less. It only will work in MENU mode. 
  56. % When the door is exited, and the user returns to the DRLINK MENU, the 
  57. % baud rate will be returned to the LOCKBAUD rate before exiting back to 
  58. % OPUS. If it works for you, this feature will allow you to lock your 
  59. % baud rate at 19200 or 38400 baud and run doors that are only capable 
  60. % of running up to MAXDOORBAUD. It can also cure a raft of device timeout 
  61. % problems with fast computers running at high baud rates -IF- the modem, 
  62. % Like a CPI modem, can handle changes in input baud rate with out going 
  63. % out into Ga-Ga land with the CONNECT baud rate.
  64.  
  65. LockBaud 38400
  66. MaxDoorBaud 9600
  67.  
  68. % Set up the Event's you have scheduled that you want to Force
  69. % user off line with. You don't need any other event's. Use 24
  70. % hour time.(HH:MM), 10 events Maximum. Order is not important. If you 
  71. % have to have a midnite event, make it 23:59 or 00:01. 00:00 won't be 
  72. % recognized.
  73.  
  74. EVENT 03:00
  75. END
  76. % You -Must- Have End immediately after the event setup if you are going
  77. % to have -any- EVENT's
  78.  
  79. % Building a SpawnDor.bat file.... You need this ONLY if you want to run
  80. % QuickBBS Doors that require a command line or if you are running
  81. % the drlink MENU. In both cases these are the commands to exit back to
  82. % you bulletin board after the user is finished with DOORS.
  83.  
  84. % A file will be written called spawndor.bat.  The batch file will contain
  85. % the commands needed to change to the proper drive and directory and
  86. % fire up QuickBBS DOORS with the necessary command line switches.  You are
  87. % allowed 12 lines after the command to execute what ever else you need to
  88. % before exiting Back to OPUS.  The SpawnDor.bat file will always be ended
  89. % with an EXIT command.  That is done in addition to what ever lines you
  90. % want to include in the SpawnDor.bat below.  I really doubt that you will
  91. % ever need more than 12 batch file lines after running a Door from OPUS.
  92. % I just included them incase you come up with something I hadn't
  93. % anticipated.  If you don't need these extra lines, then delete them.
  94. % START it out with START SPAWNDOR and END SPAWNDOR to let DRLK_CTL know the
  95. % spawndor setup is finished.
  96.  
  97. START SPAWNDOR
  98. chk4ddos
  99. if errorlevel 1 goto DDOS
  100. goto FINISH
  101. :DDOS
  102. FOSIL F0
  103. resume
  104. send *
  105. :FINISH
  106. set DOORPCH=
  107. set LIB=
  108. CD \OPUS
  109. END SPAWNDOR
  110.  
  111. % You -must- have END SPAWNDOR immediately after the spawndor setup if 
  112. % you are going to have any Spawndor.bat commands.
  113.  
  114. % Set up DRLINK to adjust time based on good uploaders. This is a ratio
  115. % that the time left on OPUS will be multiplied by to adjust a users
  116. % time according to his Upload Quantity. To use these ratios you must also
  117. % use /U command line switch. It is in the form UL [Amount less than] [Ratio]
  118.  
  119. UL 0 .5
  120. UL 100 .7
  121. UL 200 .8
  122. UL 300 .9
  123. UL 400 1.0
  124. UL 1000 1.5
  125. END
  126.  
  127. % You -must- have END immediately after the UL listing if you are going
  128. % to have UL settings.
  129.  
  130. % In this example a user that has uploaded 0 to 100k would have his DOOR
  131. % Door time Dropped to 50% of the time left on the system. A user that has
  132. % uploaded 100 to 200 k would be allowed 70% of the remaining time he has
  133. % left on OPUS etc.
  134.  
  135.  
  136. % and now my favorite part....
  137.  
  138. % The DRLINK Menu. It is only necessary if you are running DRLINK MENU.
  139.  
  140. % Doorlink menu data. The format is:
  141. %
  142. % Designator, Subsystem Command, Execute Command, Game Description, Prival
  143. %
  144. %  Where:
  145. %     Designator - Key(s) for user to push to select game, Can be
  146. %                  and combination of numbers and letters, except X. X
  147. %                  is for eXit. The menu makes more sense if you make
  148. %                  your designators in descending order by prival level
  149. %                  if you have different privals.
  150. %
  151. %     Subsystem Command - Drlink Subsystem command, same designation as
  152. %                         when using non-menu command line.
  153. %
  154. %                         /Qe:\doors   Would write a QuickBBS
  155. %                                      DORINFO1.DEF in the e:\doors
  156. %                                      directory
  157. %
  158. %     Non-Door Command   /-c:\dos      The - will allow the running of
  159. %                                      any external program that isn't
  160. %                                      one of the BBS Subsystems
  161. %                                      Doorlink writes files for (IE
  162. %                                      drop to DOS with DOORWAY in the
  163. %                                      example menu).
  164. %
  165. %     Execute Command - Command to execute door:
  166. %
  167. %                         TWQ.EXE DORINFO1.DEF  is the command line
  168. %                                               required to run Trade
  169. %                                               Wars v 9.03
  170. %
  171. %     Game Description - The Game Description you want your users to see
  172. %     on the MENU
  173. %
  174. %     Privil - The minimum OPUS Prival to use DOOR. The value is based
  175. %     on OPUS 1.10 Privals (-NOT- 103). The Minimum Prival is NORMAL (80) by
  176. %     Default.
  177. %
  178. %      Prival values are:
  179. %              SySop     =  208
  180. %              AssSySop  =  176
  181. %              Extra     =  144
  182. %              Privil    =  112
  183. %              Normal    =  80
  184. %              Disgrace  =  48
  185. %              Twit      =  16
  186. %
  187. % All Menu Commands -must- be separated by a Comma. You can set up a
  188. % Maximum of 100 games.
  189. %
  190. % You -have- to have MENU at the top of the menu and END at
  191. % the bottom of the menu setup if want DRLINK to display a menu. You
  192. % cannot put any other statements between the MENU and END or you
  193. % will screw drlink up. Don't forget to use commas to separate the menu
  194. % selections or DRLK_CTL will screw up. The MENU set up must be the
  195. % -last- setup in the DRLINK.CTL file.
  196. %
  197. %
  198. MENU
  199. 1, /Qe:\doors\, TWQ.EXE DORINFO1.DEF, Trade Wars 1000, 16, 30
  200. 2, /Pe:\doors\motu, baybull bsb.cfg, Bay Street Bulls, 48, 30
  201. 3, /4e:\doors\pcb14, barons 1 e:\doors\pcb14\ pcboard14, Barron Midevil Adventure, 48
  202. 4, /Ge:\gap, LEECH e:\gap,Leech Hackers Game, 48, 0
  203. 5, /Pe:\doors\motu\, yahtzee yahtzee.cfg, Yahtzee, 48
  204. 6, /Pe:\doors\motu, poker20a casino.cfg,  Poker, 48
  205. 7, /Pe:\doors\motu, craps20a casino.cfg, Craps, 48
  206. 8, /Pe:\doors\motu, rlet20a casino.cfg,  Roulette, 48
  207. 9, /4e:\doors\pcb14, Tchess TCH.CFG, Chess, 48
  208. 10, /pe:\doors\tw500, guppies guppies.cfg, Card Guppies, 48
  209. 11, /oe:\opus, c:\opus\waka c:\opus\krammail.exe, Check for new mail, 48,
  210. 12, /pe:\opus, doorway com1 /O: /E: /S:E:\Opus\ /Pc:\Opus\bbsphone.com, Bulletin Board Data Base, 48,
  211. 13, /4e:\doors\pcb14, batdoor batdoor.cfg, Battleship, 48
  212. 14, /Oe:\opus, c:\opus\waka c:\opus\krammail.exe, Read your mail, 48, 0
  213. 15, /Pe:\doors\motu, sidroid pcboard.sys 1, [Semi] Intelligent Droids, 48, 30
  214. 98, /-c:\, Command.com, Local drop to DOS, 208
  215. 99, /Pe:\Opus , doorway com1 /K:0 /O: /G: /S:E:\Opus\ /C:DOS, DoorWay Drop to DOS, 208
  216. END
  217. %
  218. % If you have some wierd things happen with your MENU setup, take a look 
  219. % at the SPAWNDOR.BAT file drlink writes. It will help to understand how 
  220. % the MENU setup relates to the SPAWNDOR.BAT file.
  221. %
  222. %
  223.