• Question

    From Skuz@21:1/105 to All on Thu Jan 10 22:13:28 2019
    This anyone ever used the semi new option... if so give a working example of where on the command line the %R goes... fellow sysop says everything he has tried does not work for him.

    <ALPHA 1.12 A39 RELEASED -- April 20, 2018>
    + Door command lines now have %R which will return the user name without
    underscores in the name.

    --- Mystic BBS v1.12 A42 2018/12/30 (Windows/32)
    * Origin: flupH | fluph.araknet.xyz (21:1/105)
  • From StackFault@21:1/172 to Skuz on Fri Jan 11 04:09:46 2019
    This anyone ever used the semi new option... if so give a working
    example of where on the command line the %R goes... fellow sysop says everything he has tried does not work for him.

    <ALPHA 1.12 A39 RELEASED -- April 20, 2018>
    + Door command lines now have %R which will return the user name without
    underscores in the name.

    I haven't used it personally, but if you want to use it and not have this be seen as two parameters, you will likely have to put quotes around it like

    /path/to/door /name="%R" /somethingelse

    Hope this makes sense...

    |15 ▀ ▐ |15StackFault |08<|03.|11.|15P|11h|03EN|11o|15M|11.|03.|08>
    |11 ▌ ▀ |11The Bottomless Abyss BBS
    |03 ▀ ▌▀ |03ssh|08.|072222 |08/ |03telnet|08.|072023 |08/ |03https
    |08 ▄■▐ |08bbs|07.|08bottomlessabyss|07.|08net

    --- Mystic BBS v1.12 A39 2018/04/21 (Linux/64)
    * Origin: The Bottomless Abyss BBS ■ bbs.bottomlessabyss.net (21:1/172)
  • From Skuz@21:1/105 to StackFault on Fri Jan 11 18:41:44 2019
    On 10 Jan 2019, StackFault said the following...

    + Door command lines now have %R which will return the user name wit
    underscores in the name.

    I haven't used it personally, but if you want to use it and not have
    this be seen as two parameters, you will likely have to put quotes
    around it like

    /path/to/door /name="%R" /somethingelse
    OK, your example looks like a linux dosemu/mystic example?

    I thought it was used in mystic itself for running door command lines..need a Win7 example on where the %R is placed. Below example..

    \nf.bat /N%3 /H%0 c:\doors\bre.bat %3 for running a door with a user alias. I'm still not understanding the addition of the %R and where it is to be used.

    So to use the %R /name="%R" is needed? I'm still confused about this option, and how to use it.. know matter what OS is being used. It would be helpful if mystic.wiki would fill in the details on using the option in either OS. Or
    even adding and example to the whatsnew.txt would be helpful for the newer slower people trying to keep up on new options.

    --- Mystic BBS v1.12 A42 2018/12/30 (Windows/32)
    * Origin: flupH | fluph.araknet.xyz (21:1/105)
  • From StackFault@21:1/172 to Skuz on Fri Jan 11 20:00:06 2019
    + Door command lines now have %R which will return the user name
    underscores in the name.

    /path/to/door /name="%R" /somethingelse
    OK, your example looks like a linux dosemu/mystic example?

    Yes, this was in theory, my example was more to focus on the parameters than the command-line itself. Even my Linux doors are started from a shell script where I pass parameters to, it allows me more flexibility that way.

    Like you, I am not sure since the dropfile will have this info already so why not just pick it from there instead of the command-line...

    Cheers!

    |15 ▀ ▐ |15StackFault |08<|03.|11.|15P|11h|03EN|11o|15M|11.|03.|08>
    |11 ▌ ▀ |11The Bottomless Abyss BBS
    |03 ▀ ▌▀ |03ssh|08.|072222 |08/ |03telnet|08.|072023 |08/ |03https
    |08 ▄■▐ |08bbs|07.|08bottomlessabyss|07.|08net

    --- Mystic BBS v1.12 A39 2018/04/21 (Linux/64)
    * Origin: The Bottomless Abyss BBS ■ bbs.bottomlessabyss.net (21:1/172)