• multi.bat

    From Jay Allshire@1:120/302 to All on Tue Jul 12 11:36:45 2016
    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)
  • From Jay Allshire@1:120/302 to Ben Ritchey on Fri Sep 16 19:09:55 2016
    Hi Ben,

    Here is the post you asked me to put here about what I had spoke to you about on your bbs.

    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
    D:
    CD\GAMES\ANTS
    ANTS DOOR2.CFG
    CD\
    C:
    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
    GOTO :END
    --- SBBSecho 2.27-Win32
    * Origin: Mojo's World BBS - mojo.synchro.net (1:120/302)
  • From Ben Ritchey@1:393/68 to Jay Allshire on Fri Sep 16 18:57:37 2016
    *
    * On Friday 16 Sep 2016 260 at 07:09 PM,
    * Jay Allshire said to Ben Ritchey,
    * about multi.bat ...
    *

    Ok, what exactly do you want to do with it?

    -+-
    Keep the faith :^)

    Ben aka cMech Web: http|ftp|binkp|telnet://cmech.dynip.com
    Email: fido4cmech(at)lusfiber.net
    Home page: http://cmech.dynip.com/homepage/
    WildCat! Board 24/7 +1-337-984-4794 any BAUD 8,N,1

    ... Do artificial plants need artificial water?
    --- GoldED+/W32-MSVC v1.1.5 via Mystic BBS
    * Origin: FIDONet - The Positronium Repository (1:393/68)
  • From Jay Allshire@1:120/302 to Ben Ritchey on Fri Sep 16 22:14:36 2016
    Re: Re: multi.bat
    By: Ben Ritchey to Jay Allshire on Fri Sep 16 2016 06:57 pm

    Ok, what exactly do you want to do with it?


    Well you see this is something I found on a old hard drive I have that was used for my old T.A.G bbs back before there was internet. This was started by a person that was helping me with some things on the bbs back then. I do not know eactly what he was going to do with it as he never finished it beofre all the bbs's in my area got shut down. I just found it and wondered if someone could look at it and see or figure out what he was going to do with batch file.


    So if you got any ideas on this that would be cool as I am not that good with alot of this kind of stuff so it has me lost as to what he was going to do wiht it.


    Thanks
    Jay
    --- SBBSecho 2.27-Win32
    * Origin: Mojo's World BBS - mojo.synchro.net (1:120/302)
  • From Ben Ritchey@1:393/68 to Jay Allshire on Fri Sep 16 22:17:26 2016
    *
    * On Friday 16 Sep 2016 260 at 10:14 PM,
    * Jay Allshire said to Ben Ritchey,
    * about Re: multi.bat ...
    *

    Basically it's a menu control proc that was probably intended to execute several different games, but you're right, it was never finished {chuckle}. Without a detailed knowledge of your system I doubt it would be very useful even if finished. :( If you have any questions about any individual commands I could explain further?

    -+-
    Keep the faith :^)

    Ben aka cMech Web: http|ftp|binkp|telnet://cmech.dynip.com
    Email: fido4cmech(at)lusfiber.net
    Home page: http://cmech.dynip.com/homepage/
    WildCat! Board 24/7 +1-337-984-4794 any BAUD 8,N,1

    ... Nouvelle cuisine, n.: French for "not enough food"
    --- GoldED+/W32-MSVC v1.1.5 via Mystic BBS
    * Origin: FIDONet - The Positronium Repository (1:393/68)
  • From Paul Quinn@3:640/384 to Jay Allshire on Sat Sep 17 15:23:37 2016
    Hi! Jay,

    On 16 Sep 16 22:17, Ben Ritchey wrote to you:

    Basically it's a menu control proc that was probably intended to
    execute several different games, but you're right, it was never
    finished {chuckle}. Without a detailed knowledge of your system I
    doubt it would be very useful even if finished. :( If you have any questions about any individual commands I could explain further?

    I agree with Ben. We could do stuff with the batch till the cows come home, and still end up with a half-dozen problems.

    You might be better off using a small batch for each door, which is what I used
    to do, based off of a small example. This is a simple script I was using back in '96:

    -----8<-----C-U-T--H-E-R-E----->8-----
    @echo off
    :: assign a menu hotkey to run this batch file
    :: in Opt Parameters put: *C /C C:\RA\CHAT\CHAT *D *N *M
    :: assuming paths and Dorinfo1.def being used...
    :: change PAGE.SND to sound file of your choice
    :: could be different for each node!

    c:
    cd %RA%\bbs_door\freechat

    freechat.exe /S=close.SND /D=%RA%\NODE0%NODE%\DORINFO1.DEF /N=%NODE%

    :quit
    cd %RA%\NODE0%NODE%
    -----8<-----C-U-T--H-E-R-E----->8-----

    The DOS environment variables %RA% & %NODE% just contain values for the path to
    the RemoteAccess BBS 'home' directory, and the node # for the node handling the
    current user. If you follow the documentation for each door you intend to run,
    you can take it a step at a time building your own batch file(s).

    Note that I use the colon characters (::) in lieu of REM statements, simply because some versions of DOS (aka Windows) will still parse REM lines and try to evaluate the following statements. Oh, and those REMarks are not mine. They're probably from the doco file or even a text capture from the RA support echo.

    If you do start your own batches and run into strife then don't be shy. Ask questions. :) Good luck & have fun!

    Cheers,
    Paul.

    ... Soylent green is people.
    --- Paul's Win98SE VirtualBox
    * Origin: Quinn's Post - Maryborough, Queensland, OZ (3:640/384)
  • From Jay Allshire@1:120/302 to Ben Ritchey on Sat Sep 17 18:06:29 2016
    Re: Re: multi.bat
    By: Ben Ritchey to Jay Allshire on Fri Sep 16 2016 10:17 pm

    Basically it's a menu control proc that was probably intended to execute several different games, but you're right, it was never finished {chuckle}. Without a detailed knowledge of your system I doubt it would be very useful even if finished. :( If you have any questions about any individual commands I could explain further?


    Well that figures that ths guy that was doing this never finished it. This guy that did this lives here local and he is not a very reliable person and I have been told he starts alot of stuff but never finishes it. Yeah, the chuckle was the same thought I had when I looked at it and was not able to figure much of it out.


    I do nto know how familiar you with T.A.G. bbs software but that is what it was being written to use with. Now I do know this that in T.A.G. you have to put in it a pharse like the following to start up a game: (call ant.bat) now with that in mind how would you been able to call up that game using a batch file like the one I posted in here. I am more curious than anything, as I am sure this will never work ever as it is right now cause like you said it was never finished.


    Thanks
    Jay
    --- SBBSecho 2.27-Win32
    * Origin: Mojo's World BBS - mojo.synchro.net (1:120/302)
  • From Jay Allshire@1:120/302 to Paul Quinn on Sat Sep 17 18:11:36 2016
    Re: multi.bat
    By: Paul Quinn to Jay Allshire on Sat Sep 17 2016 03:23 pm

    I agree with Ben. We could do stuff with the batch till the cows come home, and still end up with a half-dozen problems.

    You might be better off using a small batch for each door, which is what I used
    to do, based off of a small example. This is a simple script I was using back in '96:


    Well at this time that is what I am doing, I have one batch file for each game that I have on the system. The one thing that was I feel a flaw in the BBS software was all the batch files have to be in the bbs main directory or it can not find them. And I have even tried putting in the path to it and it still can not find it. So who knows this may be why this person was working on a batch file like this to save on space and not have so many batch files in the main bbs directory. But who knows for sure anymore as this was many years ago that this was done.



    Thanks Paul for your input on this.
    Jay
    --- SBBSecho 2.27-Win32
    * Origin: Mojo's World BBS - mojo.synchro.net (1:120/302)
  • From Richard Miles@1:3634/24 to Jay Allshire on Sun Sep 18 01:28:50 2016
    the path to it and it still can not find it. So who knows this may be
    why this person was working on a batch file like this to save on space
    and not have so many batch files in the main bbs directory. But who

    I wouldn't do it this way but it actually makes sense. You just call the
    one batch file with the door name as a parameter along with any others. Would make it easy to add new games.

    -=>Richard Miles<=-
    -=>Captain Obvious<=-
    -=>bbs.shadowscope.com<=-

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Shadowscope BBS | bbs.shadowscope.com | Temple, GA (1:3634/24)
  • From mark lewis@1:3634/12.73 to Richard Miles on Sun Sep 18 06:05:34 2016
    18 Sep 16 01:28, you wrote to Jay Allshire:

    the path to it and it still can not find it. So who knows this may be
    why this person was working on a batch file like this to save on
    space and not have so many batch files in the main bbs directory. But
    who

    I wouldn't do it this way but it actually makes sense. You just call
    the one batch file with the door name as a parameter along with any others. Would make it easy to add new games.

    or more likely easier for door usage stats recording but i can see that being done just as easily in multiple door bats, too...

    )\/(ark

    Always Mount a Scratch Monkey

    ... May all your hang-ups be drip-dry.
    ---
    * Origin: (1:3634/12.73)