home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 180 
 Jay Allshire to All 
 multi.bat 
 12 Jul 16 11:36:45 
 
I am going to inseret a copy of a batch file that was created some time ago
back in the dialup bbs days for a old bbs I was running. This batch file was
started and never was finished by someone who was helping me with some things
in the bbs at the time. I do not really understand this and was being done for
sure. I am wondering if someone can tell me how I would use this now in like
T.A.G. to call up the games for the bbs and only use this one batch file to do
this. Any help would be greatly appreciated if this is even a possible thing
that could be done.


Thanks
Jay


@echo off
if "%1" == "" GOTO :A
if "%1" == "MULTIX00" GOTO :MULTIBAT
cls
cd \bbs
ECHO User enter door %1 >> gfiles\sysop.log
echo > multi.flg
rem DO NOT USE CALL IN THE NEXT LINE
command /c \JPG\multi.bat MULTIX00 %1
cd \JPG
if not exist multi.flg goto :MULTIOK
Echo Parameter %1 was passed to \bbs\MULTI.BAT but was not yet defined >>
gfiles\USER1.MSG
Echo Please edit MULTI2.BAT and add the option or delete the menu item >>
gfiles\USER1.MSG
Echo which produces this parameter >> gfiles\USER1.MSG
Echo Sysop will be notified. Please log on to see error.
GOTO :MULTIOK

:MULTIBAT
REM autoboot /ena
GOTO :%2
GOTO :ERROR

REM ************************************************************************
REM Here is where the options start. Each option starts with :A and ends
REM with the option you place on the MULTI.BAT line
REM Each ends with a GOTO :END
REM
REM The starting directory is always I:\bbs. I:\bbs will always be switched
REM back to when the snippet completes.


:ANTS
E:
CD\GAMES\ANTS
ANTS DOOR2.CFG
CD\
D:
CD\JPG
GOTO :END

:EZSLOT
E:
CD\GAMES\EZSLOT
EZSLOT.EXE 2
CD\
D:
CD\JPG
GOTO :END

:BBSGOLF
E:
CD\GAMES\BBSGOLF
BBSGOLF 1
CD\
D:
CD\JPG
GOTO :END

:BOOBY
E:
CD\GAMES\BOOBYTRP
BOOBTRP BOOBYTRP.CFG
CD\
D:
CD\JPG
GOTO :END

E:
CD\GAMES2\AC6
SRDOOR
AC6
CD\
D:
CD\JPG
--- SBBSecho 2.27-Win32
 * Origin: Mojo's World BBS - mojo.synchro.net (1:120/302)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca