home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
bbs
/
vfy_29a.zip
/
TRAPDOOB.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-07-24
|
2KB
|
51 lines
@echo off
cls
rem TRAPDOOB.BAT TRADE WARS 2002 v1.03
c:
rem %0 = trapdoor.bat, %1 = port#, %2 = baud, %3 = first name, %4 = last name,
rem %5 = security, %6 = ansi(Y/N), %7 = start directory, %8 = CARRIER or LOCAL
rem ************************************************************************
rem * Security to enter this batch file is 5. IF the caller's security is *
rem * 6 through 11, VERIFY! is skipped, and the game is accessed. IF the *
rem * caller's security is 5, caller is offered to be verified. IF the *
rem * returned ERRORLEVEL is 0 (local call), then caller is verified and *
rem * still on line. MEGA_API 5 6 will reset his security on exit of the *
rem * Trap Doors and access to the game is authorized. *
rem * *
rem ************************************************************************
CD\MEGAHOST\2002v103
IF %5 == 6 GOTO RUN
IF %5 == 7 GOTO RUN
IF %5 == 8 GOTO RUN
IF %5 == 9 GOTO RUN
IF %5 == 10 GOTO RUN
IF %5 == 11 GOTO RUN
rem DISPLAY.EXE displays a message (text) file to the BBS caller.
DISPLAY /B:MH1 /A:NO /F:2002v103
VERIFY! /B:MH1 /D:C:\MEGAHOST\DATA
IF ERRORLEVEL 0 IF NOT ERRORLEVEL 2 GOTO SET
GOTO END
:SET
megaapi1 5 6, 7 90
:RUN
rem Create CALLINFO.BBS (from C_INFO10.ZIP)
callinfo %1 %2 %3 %4 %5 %6 %7 %8
echo Loading Trade Wars 2002 v1.03! Good Luck!>> com2:
echo Loading Trade Wars 2002 v1.03! Good Luck!
rem ***********************************************************
echo *** Entering Trade Wars 2002 v1.03 *** >> C:\MEGAHOST\DATA\MEGAHOST.LOG
tw2002 -WILD
goto end
rem ***********************************************************
:end