• src file

    From Bill McGarrity@VERT/TEQUILAM to Digital Man on Fri Feb 16 20:26:48 2018
    Hello Rob!

    I'm trying to add a 'Clean-Up Command' to a door that will run a batch file
    to update some ANS screens. In the wiki it says that option can only run a .js or .bin file. I'm great creating batch files but don't have a clue on
    how to write a .src file that I can use baja on.

    There are a total of 6 different doors that have to run a batch file specifically written for each game therefore I am
    assuming I'd need 6 different .src files pointing towards each games
    directory where the unique batch files are
    sitting.

    Now how do I go about whipping something up? Do I need to use any !include statements? Do I use an 'EXEC_XTRN <.bat>'
    command within the src file? As you can probably tell, I'm a tad over my
    head here.

    Thanks for any help you can give me.
    Thanks for any help you can give me.
    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: 6697
    Radio: radio.tequilamockingbirdonline.net:8010/live

    ---
    þ Synchronet þ TequilaMockingbird Online - Toms River, NJ
  • From Nelgin@VERT/EOTLBBS to Bill McGarrity on Sat Feb 17 14:53:57 2018
    On Fri, 16 Feb 2018 20:26:48 -0500, "Bill McGarrity" <bill.mcgarrity@VERT/TEQUILAM> wrote:

    Hello Rob!

    I'm trying to add a 'Clean-Up Command' to a door that will run a batch file >to update some ANS screens. In the wiki it says that option can only run a >.js or .bin file. I'm great creating batch files but don't have a clue on >how to write a .src file that I can use baja on.

    There are a total of 6 different doors that have to run a batch file >specifically written for each game therefore I am
    assuming I'd need 6 different .src files pointing towards each games >directory where the unique batch files are
    sitting.

    Now how do I go about whipping something up? Do I need to use any !include >statements? Do I use an 'EXEC_XTRN <.bat>'
    command within the src file? As you can probably tell, I'm a tad over my >head here.

    Why not create a batch file and call it as a timed event and have it
    run the clean up commands. Then all you have to worry about is
    executing the bat file.

    You don't say if you're on Windows or linux but on Windows it should
    be trivial, on linux it might even be easier to write a shell script
    that calls dosemu and then runs your cleanup, if that's what is
    required.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From MRO@VERT/BBSESINF to Bill McGarrity on Sat Feb 17 17:54:43 2018
    Re: src file
    By: Bill McGarrity to Digital Man on Fri Feb 16 2018 08:26 pm


    I'm trying to add a 'Clean-Up Command' to a door that will run a batch file to update some ANS screens. In the wiki it says that option can only run a .js or .bin file. I'm great creating batch files but don't have a clue on how to write a .src file that I can use baja on.



    you can run a batchfile as the cleanup command.
    can you link to the wiki page that says this please.

    statements? Do I use an 'EXEC_XTRN <.bat>'
    command within the src file? As you can probably tell, I'm a tad over my

    you can actually use exec_int but dont do that

    sometimes i do cleanup commands in the actual doorgames' batchfile before everything runs because there are false inuse.flg files or whatever.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Bill McGarrity@VERT/TEQUILAM to Nelgin on Mon Feb 19 19:17:00 2018
    Nelgin wrote to Bill McGarrity on 02-17-18 14:53 <=-

    On Fri, 16 Feb 2018 20:26:48 -0500, "Bill McGarrity" <bill.mcgarrity@VERT/TEQUILAM> wrote:

    Hello Rob!

    I'm trying to add a 'Clean-Up Command' to a door that will run a batch file
    to update some ANS screens. In the wiki it says that option can only run a
    .js or .bin file. I'm great creating batch files but don't have a clue on
    how to write a .src file that I can use baja on.

    There are a total of 6 different doors that have to run a batch file
    specifically written for each game therefore I am
    assuming I'd need 6 different .src files pointing towards each games
    directory where the unique batch files are
    sitting.

    Now how do I go about whipping something up? Do I need to use any !include
    statements? Do I use an 'EXEC_XTRN <.bat>'
    command within the src file? As you can probably tell, I'm a tad over my
    head here.

    Why not create a batch file and call it as a timed event and have it
    run the clean up commands. Then all you have to worry about is
    executing the bat file.

    I had wrote a batch file. Problem was I originally used ../xtrn/doorname/.bat as the command. It seems it prefers the entire path. :)

    You don't say if you're on Windows or linux but on Windows it should
    be trivial, on linux it might even be easier to write a shell script
    that calls dosemu and then runs your cleanup, if that's what is
    required.

    It's fixed.. thank you..


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    --- MultiMail/Win32 v0.50
    þ Synchronet þ TequilaMockingbird Online - Toms River, NJ
  • From Bill McGarrity@VERT/TEQUILAM to MRO on Mon Feb 19 19:18:00 2018
    MRO wrote to Bill McGarrity on 02-17-18 17:54 <=-

    Re: src file
    By: Bill McGarrity to Digital Man on Fri Feb 16 2018 08:26 pm


    I'm trying to add a 'Clean-Up Command' to a door that will run a batch file to update some ANS screens. In the wiki it says that option can only run a .js or .bin file. I'm great creating batch files but don't have a clue on how to write a .src file that I can use baja on.



    you can run a batchfile as the cleanup command.
    can you link to the wiki page that says this please.

    statements? Do I use an 'EXEC_XTRN <.bat>'
    command within the src file? As you can probably tell, I'm a tad over my

    you can actually use exec_int but dont do that

    sometimes i do cleanup commands in the actual doorgames' batchfile
    before everything runs because there are false inuse.flg files or whatever. ---


    It's resolved. Didn't like the shortened path in the clean-up command section. Used the ful path and it's working.. :)

    Thanks..


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    --- MultiMail/Win32 v0.50
    þ Synchronet þ TequilaMockingbird Online - Toms River, NJ