home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
FURY1H.ZIP
/
GAME.ZIP
/
NANBATS.ZIP
/
GAMES.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-05-18
|
9KB
|
515 lines
rem :I put echo on so I can see what's going on from my end, it can be set off
@echo on
rem :the following calls fury, passes the name of the door, passes drop file
rem :this logs usage and last user to the database
rem :if the door name passed is "Fury" it will open the door for viewing stats
cd\games\fury
fury %2 w:\pb\node%1\dorinfo%1.def
cd\games
rem : the following list checks the passed variable name and compares it
rem : to the list to go down and activate the door
if "%2" == "fury" goto end
if "%2" == "AnsiArt" goto ansiart
if "%2" == "Arrowbridge" goto arrowbridge
if "%2" == "Assassin" goto assassin
if "%2" == "Baseball_Dice" goto bbdice
if "%2" == "Boob_Tube" goto btube
if "%2" == "BCheckers" goto bcheck
if "%2" == "Betsy_Ross" goto betsy
if "%2" == "Boydian_Blocks" goto boydian
if "%2" == "BRE" goto bre
if "%2" == "BRE2" goto bre2
if "%2" == "Chat_Door" goto chat
if "%2" == "Castle_Siege" goto castle
if "%2" == "Cyber_Tank" goto cyber
if "%2" == "Dragon_Systems" goto charge
if "%2" == "Eclectic_Avenue" goto eclectic
if "%2" == "EZHang" goto ezhang
if "%2" == "Food_Fite" goto food
if "%2" == "Galactic_Overlord" goto galactic
if "%2" == "Hang_Man" goto hang
if "%2" == "Immortal" goto immortal
if "%2" == "Island_Empires" goto island
if "%2" == "Jewel_Thief" goto jewel
if "%2" == "Knights" goto knights
if "%2" == "Kaboom" goto kaboom
if "%2" == "KingTrivia" goto king
if "%2" == "Ladders" goto ladders
if "%2" == "LOD" goto lod
if "%2" == "LORD" goto lord
if "%2" == "Lords_of_Irongate" goto irongate
if "%2" == "Lore" goto lore
if "%2" == "Mania" goto Mania
if "%2" == "Master_Mind" goto master
if "%2" == "Mines_of_Gorr" goto gorr
if "%2" == "Mo_Mud" goto momud
if "%2" == "Outpost_Trader" goto otrade
if "%2" == "PJTrivia" goto PJTrivia
if "%2" == "Planets" goto planets
if "%2" == "Shadow_BBS" goto shadow
if "%2" == "skigame" goto skigame
if "%2" == "Super_Slots" goto superslot
if "%2" == "Synabacab" goto syn
if "%2" == "The_Pit" goto thepit
if "%2" == "TriBingo" goto tribingo
if "%2" == "Usurper" goto usurper
if "%2" == "WCSUno" goto uno
if "%2" == "Wraith" goto wraith
rem : nanet's doors
if "%2" == "Dr.Dread" goto dread
if "%2" == "Spiked" goto spiked
if "%2" == "Jacob's_Ladder" goto jacob
if "%2" == "PunchLine!" goto punch
if "%2" == "Trekkie_Tags" goto trekkie
if "%2" == "Don't_Wake_Sysop" goto wake
rem : these are all doors by Danny Davis -- check em out!
if "%2" == "Draw_Poker" goto draw
if "%2" == "Seven_Towers" goto tower
if "%2" == "Fifteen" goto fifteen
if "%2" == "Four_Leaf" goto 4leaf
if "%2" == "Video_Poker" goto video
if "%2" == "Solitaire" goto sol
if "%2" == "Conc_Solitaire" goto concen
if "%2" == "Yahtzee" goto yaht
if "%2" == "Word_Scramble" goto scramble
if "%2" == "Phrase_Craze" goto phrase
if "%2" == "Tut's_Revenge" goto tut
if "%2" == "Black_Jack" goto bj
if "%2" == "Thirteen" goto 13
rem in case we call a non-existent label
:start
goto end
:charge
CD\games\charge
copy w:\pb\node%1\door.sys w:\pb\wcwork\node%1\door.sys
copy w:\pb\node%1\door.sys w:\pb\wcwork\node%1
WCCHARGE NODE%1.CFG
IF EXIST BATCH%1.BAT CALL BATCH%1.BAT
IF EXIST BATCH%1.BAT DEL BATCH%1.BAT
goto end
:chat
CD\games\cdoor
chatdoor chatdoor.cf%1
goto end
:bcheck
CD\games\bcheck
bcheck w:\pb\node%1\door.sys
goto end
:boydian
CD\games\boydian
bb w:\pb\node%1\dorinfo%1.def
goto end
:draw
cd\games\draw
draw draw0%1.cnf
goto end
:irongate
CD\games\loid
irongate irongate.cf%1
goto end
:island
CD\games\ISLAND
ISLAND ^ISLAND.C0%1
goto end
:kaboom
CD\games\kaboom
kaboom w:\pb\node%1\door.sys
goto end
:lod
cd\games\lod
game /N%1 /CHECK /Pw:\pb\node%1
goto end
:lore
cd\games\lore
lore /N%1 /Pw:\pb\node%1
goto end
:master
CD\games\master
mastmind /Sw:\pb\node%1
goto end
:momud
cd\games\momud
momud momud%1.cfg
goto end
:wraith
cd\games\wraith
rem wk4nodes.exe w:\pb\node%1
wraith.bat w:\pb\node%1
goto end
:sol
cd\games\sol
sol sol0%1.cnf
goto end
:tut
cd\games\tut
tut tut0%1.cnf
goto end
:video
cd\games\video
video video0%1.cnf
goto end
:yaht
cd\games\yaht
yahtzee yaht0%1.cnf
goto end
:tower
cd\games\sevtow
tower tower0%1.cnf
goto end
:fifteen
cd\games\fifteen
fifteen match0%1.cnf
goto end
:bj
cd\games\bj
bj bj0%1.cnf
goto end
:concen
cd\games\conc
concent concen0%1.cnf
goto end
:scramble
cd\games\scramble
scramble word0%1.cnf
goto end
:13
cd\games\thirteen
thirteen 130%1.cnf
goto end
:phrase
cd\games\phrase
phrase phrase0%1.cnf
goto end
:4leaf
cd\games\fourleaf
fourleaf 4leaf0%1.cnf
goto end
:hang
CD\games\hang
hang hang0%1.cnf
goto end
:syn
cd\games\syn
syn.exe syn%1.cfg
goto end
:bre2
CD\games\BRE2
if exist w:\games\bre\using.flg goto inuse
echo "INUSE FLAG" > using.flg
copy setup.%1 setup.sr
SRDOOR
BRE
del using.flg
goto end
:bre
CD\games\BRE
if exist w:\games\bre\using.flg goto inuse
echo "INUSE FLAG" > using.flg
copy setup.%1 setup.sr
BRE INBOUND
BRSCORES
SRDOOR
BRE
BRE OUTBOUND
del using.flg
goto end
:betsy
CD\games\betsy
betsy betsy.cf%1 /FD
goto end
:shadow
rem if %1 == 2 goto sorry
CD\games\shadow
shadow1 door%1.cfg
goto end
:king
cd\games\king
KING810 KING.CF%1
goto end
:knights
CD\games\knights
COPY knights.CF%1 knights.CFG
if %1 == 4 goto knights4
if %1 == 5 goto knights4
if %1 == 6 goto knights4
knights knights.CFG
goto end
:knights4
knights knights.CFG /local
goto end
:PJTrivia
cd\games\pjtrivia
TRIVIA TRIVIA.CF%1
goto end
:ezhang
CD\games\EZHANG
EZHANG %1
goto end
:food
if %1 == 2 goto sorry
cd\games\food
FOODFITE FOODFITE.CF%1
goto end
:superslot
cd\games\sslots
SUPRSLOT SUPRSLOT.CFG w:\pb\node%1\dorinfo%1.def
goto end
:ansiart
if %1 == 2 goto sorry
cd\pb\ansiart
ansiart w:\pb\node%1\dorinfo%1.def
goto end
:arrowbridge
cd\games\abridge
abridge.exe /node%1
goto end
:assassin
CD\games\assassin
ASNPC /DROP=w:\pb\node%1\door.sys
rem dorinfo%1.def
goto end
:bjack
cd\games\bjack
COPY bj.CF%1 bj.CFG
bj bj.cfg
goto end
:uno
cd\games\uno
COPY wcsuno.CF%1 wcsuno.CFG
wcsuno wcsuno.cfg
goto end
:bbdice
cd\games\bbdice
if %1 == 4 goto bbdice4
if %1 == 5 goto bbdice4
if %1 == 6 goto bbdice4
bbdice bbdice.cf%1 /fd
goto end
:bbdice4
bbdice bbdice.cf%1
goto end
:btube
if %1 == 2 goto sorry
CD\games\btube
BT23 DEKMDOOR.CF%1
goto end
:castle
CD\games\castle
Castle -Node=%1 -DoorInfo=w:\pb\node%1\DORINFO%1.DEF -Fossil
goto end
:cyber
cd\games\cyb
CYBER -Node=%1 -DropFile=w:\pb\node%1\dorinfo%1.def -Fossil
goto end
:dread
CD\games\dread
dread w:\PB\node%1\DORINFO%1.DEF %1
goto end
:punch
CD\games\punch
sssgame w:\PB\node%1\DORINFO%1.DEF %1
goto end
:trekkie
CD\games\trekkie
sssgame w:\PB\node%1\DORINFO%1.DEF %1
goto end
:jacob
CD\games\jacob
sssgame w:\PB\node%1\DORINFO%1.DEF %1
goto end
:spiked
CD\games\spike
spike w:\PB\node%1\DORINFO%1.DEF %1
goto end
:eclectic
CD\games\eclectic
EA.EXE node%1.CFG /D w:\pb\node%1\
goto end
:gorr
CD\games\GORR
GORR w:\pb\node%1\dorinfo%1.def PORT:F:%1
goto end
:galactic
CD\games\GO
GO w:\pb\node%1\dorinfo%1.def PORT:F:%1
goto end
:immortal
CD\games\immortal
immortal /n=%1
goto end
:jewel
CD\games\jewel
COPY JEWEL.CF%1 JEWEL.CFG
if %1 == 6 goto jewel4
if %1 == 5 goto jewel4
if %1 == 4 goto jewel4
JEWEL jewel.CFG
goto end
:jewel4
JEWEL jewel.CFG /local
goto end
:tribingo
CD\games\bingo
COPY tribingo.CF%1 TRIBINGO.CFG
if %1 == 6 goto bingo4
if %1 == 5 goto bingo4
if %1 == 4 goto bingo4
TRIBINGO TRIBINGO.CFG
goto end
:bingo4
TRIBINGO TRIBINGO.CFG local
goto end
:ladders
CD\games\ladders
LADDERS LADDERS.CF%1
goto end
:otrade
cd\games\otrade
otrader /Dw:\pb\node%1
goto end
:lord
CD\games\LORD
call start.bat %1
rem lord /n%1
goto end
:Mania
CD\games\mania
mania mania.cf%1 /fd
goto end
:planets
cd\games\planets
PLANETS.EXE /pw:\pb\node%1
goto end
:skigame
CD\games\skigame
skigame w:\pb\node%1\dorinfo%1.def
goto end
:wake
CD\games\wake
wake w:\pb\node%1\dorinfo%1.def %1
goto end
:thepit
CD\games\pit
pit /node0%1
goto end
:usurper
rem if exist w:\games\usurper\inuse.flg goto inuse
CD\games\USURPER
usurper %1 /P:w:\pb\node%1\
goto end
:tw2002
cd\games\tradewar
if exist inuse.FLG goto inuse
echo "INUSE FLAG" > inuse.flg
copy w:\pb\node%1\dorinfo%1.def dorinfo1.def
TW2002 -qbbs
del dorinfo1.def
del inuse
goto end
rem :concen
rem cd\games\concen
rem if %1 == 4 goto concen4
rem if %1 == 5 goto concen4
rem if %1 == 6 goto concen4
rem concent concent.cf%1 /fd
rem goto end
rem :concen4
rem concent concent.cf%1
rem goto end
:inuse
echo Sorry, This door's in use now. Try later.. >COM%1:
goto end
:sorry
echo Sorry, This door can only be used on Node 1. >COM%1:
goto end
:end
cd\pb\node%1