• SRC file..

    From Bill McGarrity@1:266/404 to Digital Man on Fri Feb 16 20:02:29 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.


    Bill


    ... If you can't laugh at yourself, make fun of other people.
    --- SBBSecho 3.03-Win32
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)
  • From Digital Man@1:103/705 to Bill McGarrity on Fri Feb 16 23:17:59 2018
    Re: SRC file..
    By: Bill McGarrity to Digital Man on Fri Feb 16 2018 08:02 pm

    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.

    Are you positive is says that? Because it's not true. The cleanup command can be a native program or command shell script just as well as JS or Baja module.

    digital man

    Synchronet "Real Fact" #52:
    Answers to Frequently Asked Questions: http://wiki.synchro.net/faq:index
    Norco, CA WX: 56.1oF, 30.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Bill McGarrity@1:266/404 to Digital Man on Sat Feb 17 12:49:00 2018
    Digital Man wrote to Bill McGarrity on 02-16-18 23:17 <=-

    Re: SRC file..
    By: Bill McGarrity to Digital Man on Fri Feb 16 2018 08:02 pm

    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.

    Are you positive is says that? Because it's not true. The cleanup
    command can be a native program or command shell script just as well as
    JS or Baja module.

    OK... I reviewed my entry and it seems it doesn't like the shortened path of ../xtrn/doorname/??.bat so I put the entire path in there and it now works.

    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
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)