home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
UTILITY
/
WWIVL210.ZIP
/
EXAMPLES.ZIP
/
BBSBGM.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-04-15
|
1KB
|
50 lines
@ECHO OFF
REM SKELETON.BAT
REM *
REM Remember to change your game to point to the
REM Drop file in the game directory for single
REM instance games, or to the directory you
REM specified in your configuration for
REM mulit-instance games.
REM If the drop file name or path can be specified
REM on the game command line, you may
REM use %WLDROP% in place of the name.
REM See WWIVLOCK.DOC for more information.
REM *
WWIVLOCK BBSBGM.WSC
CALL WLSET%WWIV_INSTANCE%
C:
CD C:\WWIV\GAMES\BACKGAMM
if errorlevel = 035 goto LOCAL003
if errorlevel = 030 goto CONT
if errorlevel = 025 goto LOCAL002
if errorlevel = 020 goto CONT
if errorlevel = 015 goto LOCAL001
if errorlevel = 010 goto CONT
goto CONT
:LOCAL003
REM *** INSTANCE 003
REM Enter LOCAL game execution command here
BBSBGM %WLHANDLE%
goto ENDOFBAT
:LOCAL002
REM *** INSTANCE 002
REM Enter LOCAL game execution command here
BBSBGM %WLHANDLE%
goto ENDOFBAT
:LOCAL001
REM *** INSTANCE 001
REM Enter LOCAL game execution command here
BBSBGM %WLHANDLE%
goto ENDOFBAT
:CONT
REM WWIVlock will take care of all necessary
REM Actions to get the game running. All you
REM need to do is enter your game command here
REM See WWIVLOCK.DOC for extra replacement
REM values you may want to use.
BBSBGM
:ENDOFBAT
C:
CD C:\WWIV