home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / UTILITY / WWIVL210.ZIP / EXAMPLES.ZIP / LORD.BAT < prev    next >
DOS Batch File  |  1994-04-20  |  2KB  |  57 lines

  1. @ECHO OFF
  2. REM    SKELETON.BAT
  3. REM    *
  4. REM    Remember to change your game to point to the
  5. REM    Drop file in the game directory for single
  6. REM    instance games, or to the directory you
  7. REM    specified in your configuration for
  8. REM    mulit-instance games.
  9. REM    If the drop file name or path can be specified
  10. REM    on the game command line, you may
  11. REM    use %WLDROP% in place of the name.
  12. REM    See WWIVLOCK.DOC for more information.
  13. REM  *
  14. REM  The next line loads BNU.  If you load it in
  15. REM  your AUTOEXEC.BAT, then remove the next line
  16. BNU
  17. REM    *
  18. WWIVLOCK LORD.WSC
  19. CALL WLSET%WWIV_INSTANCE%
  20. C:
  21. CD C:\WWIV\GAMES\LORD
  22. if errorlevel = 035 goto LOCAL003
  23. if errorlevel = 030 goto CONT
  24. if errorlevel = 025 goto LOCAL002
  25. if errorlevel = 020 goto CONT
  26. if errorlevel = 015 goto LOCAL001
  27. if errorlevel = 010 goto CONT
  28. goto CONT
  29. :LOCAL003
  30. REM  *** INSTANCE 003
  31. REM    Enter LOCAL game execution command here
  32. LORD /l /n3
  33. goto ENDOFBAT
  34. :LOCAL002
  35. REM  *** INSTANCE 002
  36. REM    Enter LOCAL game execution command here
  37. LORD /l /n2
  38. goto ENDOFBAT
  39. :LOCAL001
  40. REM  *** INSTANCE 001
  41. REM    Enter LOCAL game execution command here
  42. LORD /l /n1
  43. goto ENDOFBAT
  44. :CONT
  45. REM  WWIVlock will take care of all necessary
  46. REM  Actions to get the game running.  All you
  47. REM  need to do is enter your game command here
  48. REM  See WWIVLOCK.DOC for extra replacement
  49. REM  values you may want to use.
  50. LORD /p%WLDROP% /n%WWIV_INSTANCE%
  51. :ENDOFBAT
  52. C:
  53. CD C:\WWIV
  54. REM  The next line UNLOADS BNU. If you load it in
  55. REM  your AUTOEXEC.BAT, then remove the next line
  56. BNU /U
  57.