• Import variables into bash script

    From niter3@46:1/108 to All on Wed Jul 26 10:06:36 2017
    Can somebody tell me how to import the mystic variables into a bash script.
    So I can pull the handle and other information in a script.

    --- Mystic BBS v1.12 A34 (Linux/32)
    * Origin: Clutch BBS * telnet://clutch.darktech.org (46:1/108)
  • From Mercyful Fate@46:1/140 to niter3 on Wed Jul 26 22:47:26 2017
    $ niter3 was quoted saying . . ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Can somebody tell me how to import the mystic variables into a bash
    script. So I can pull the handle and other information in a script.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Most likely you'll have to use mpl to push the variables you want as commandline parameters.

    --- Enthral BBS 0.700.1 (4.9.35-1-ARCH armv7l GNU/Linux)
    * Origin: haunting The chapel >>--> htc.zapto.org <--<< (46:1/140)
  • From niter3@46:1/108 to Mercyful Fate on Thu Jul 27 08:32:18 2017
    Most likely you'll have to use mpl to push the variables you want as commandline parameters.

    Any examples?

    --- Mystic BBS v1.12 A34 (Linux/32)
    * Origin: Clutch BBS * telnet://clutch.darktech.org (46:1/108)
  • From niter3@46:1/108 to Mercyful Fate on Thu Jul 27 11:39:04 2017
    On 07/26/17, Mercyful Fate said the following...

    $ niter3 was quoted saying . . ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Can somebody tell me how to import the mystic variables into a bash script. So I can pull the handle and other information in a script.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Most likely you'll have to use mpl to push the variables you want as commandline parameters.

    --- Enthral BBS 0.700.1 (4.9.35-1-ARCH armv7l GNU/Linux)
    * Origin: haunting The chapel >>--> htc.zapto.org <--<< (46:1/140)

    Ignore my message regarding an example.

    I ended up putting a MPS together that writes the username to a file. Then within my bash script I read in the file.

    --- Mystic BBS v1.12 A34 (Linux/32)
    * Origin: Clutch BBS * telnet://clutch.darktech.org (46:1/108)
  • From Mercyful Fate@46:1/140 to niter3 on Sun Jul 30 00:28:10 2017
    $ niter3 was quoted saying . . ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Ignore my message regarding an example.

    I ended up putting a MPS together that writes the username to a file. Then within my bash script I read in the file.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Cool, ya that should do the trick, otherwise the other way would be to use the MCI Menu code stuff to call out a DOOR from MPL, then pass the command line parameters in the door string.. but I don't have any examples since i don't
    run mystic and haven't touched MPL since 2004.. hehe

    --- Enthral BBS 0.700.1 (4.9.35-1-ARCH armv7l GNU/Linux)
    * Origin: haunting The chapel >>--> htc.zapto.org <--<< (46:1/140)