home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / bbs / vfy_29a.zip / TRAPDOOB.BAT < prev    next >
DOS Batch File  |  1993-07-24  |  2KB  |  51 lines

  1. @echo off
  2. cls
  3. rem TRAPDOOB.BAT     TRADE WARS 2002 v1.03
  4. c:
  5. rem %0 = trapdoor.bat, %1 = port#, %2 = baud, %3 = first name, %4 = last name,
  6. rem %5 = security, %6 = ansi(Y/N), %7 = start directory, %8 = CARRIER or LOCAL
  7.  
  8. rem ************************************************************************
  9. rem * Security to enter this batch file is 5.  IF the caller's security is *
  10. rem * 6 through 11, VERIFY! is skipped, and the game is accessed.  IF the  *
  11. rem * caller's security is 5, caller is offered to be verified.  IF the    *
  12. rem * returned ERRORLEVEL is 0 (local call), then caller is verified and   *
  13. rem * still on line.  MEGA_API 5 6 will reset his security on exit of the  *
  14. rem * Trap Doors and access to the game is authorized.                     *
  15. rem *                                                                      *
  16. rem ************************************************************************
  17.  
  18. CD\MEGAHOST\2002v103
  19.  
  20. IF %5 == 6 GOTO RUN
  21. IF %5 == 7 GOTO RUN
  22. IF %5 == 8 GOTO RUN
  23. IF %5 == 9 GOTO RUN
  24. IF %5 == 10 GOTO RUN
  25. IF %5 == 11 GOTO RUN
  26.  
  27. rem DISPLAY.EXE displays a message (text) file to the BBS caller.
  28. DISPLAY /B:MH1 /A:NO /F:2002v103
  29.  
  30. VERIFY! /B:MH1 /D:C:\MEGAHOST\DATA
  31. IF ERRORLEVEL 0 IF NOT ERRORLEVEL 2 GOTO SET
  32. GOTO END
  33.  
  34. :SET
  35. megaapi1 5 6, 7 90
  36.  
  37. :RUN
  38. rem   Create CALLINFO.BBS  (from C_INFO10.ZIP)
  39. callinfo %1 %2 %3 %4 %5 %6 %7 %8
  40.  
  41. echo Loading Trade Wars 2002 v1.03! Good Luck!>> com2:
  42. echo Loading Trade Wars 2002 v1.03! Good Luck!
  43.  
  44. rem ***********************************************************
  45. echo         *** Entering Trade Wars 2002 v1.03 *** >> C:\MEGAHOST\DATA\MEGAHOST.LOG
  46. tw2002 -WILD
  47. goto end
  48. rem ***********************************************************
  49.  
  50. :end
  51.