• Question

    From IB JOE@1:342/200 to All on Wed Sep 27 12:23:31 2017
    Does Mystic have, hard coded an environment veriable for node number... ie wildcat is %wcnodeid% or Synchronet is %sbbsnnum%... Is there one internal to Mystic. I know I can create one with a batch file...is there one the BBS
    make with its own startup process

    Thanx

    IB JOE
    AKA Joe Schweier
    SysOp of Joe's Computer & BBS
    Telnet: joesbbs.com

    --- Mystic BBS v1.12 A35 (Raspberry Pi/32)
    * Origin: Joe's Computer & BBS -=joesbbs.com=- (1:342/200)
  • From Mike Fenton@1:229/310 to IB JOE on Wed Sep 27 15:43:53 2017
    On 09/27/17, IB JOE said the following...

    Does Mystic have, hard coded an environment veriable for node number...
    ie wildcat is %wcnodeid% or Synchronet is %sbbsnnum%... Is there one internal to Mystic. I know I can create one with a batch file...is
    there one the BBS make with its own startup process

    %3

    --- Mystic BBS v1.12 A34 (Linux/32)
    * Origin: Clutch BBS * telnet://clutch.darktech.org (1:229/310)
  • From IB JOE@1:342/200 to Mike Fenton on Wed Sep 27 14:17:24 2017
    Does Mystic have, hard coded an environment veriable for node number. ie wildcat is %wcnodeid% or Synchronet is %sbbsnnum%... Is there one internal to Mystic. I know I can create one with a batch file...is there one the BBS make with its own startup process

    %3

    Okay... read the doc a little...

    if I were to write a batch file, not saying I am, I'm just saying...

    :start
    cd\bbs\node%wcnodeid%\
    c:\bbs\stuff\something.exe config.%wcnodeid%
    :Stop

    Batch file would run, and if the user was on node 3, it would change the user to the directory \bbs\bode3\ and exicute an exe the something.exe file with config.3 bedide it....

    ergo,
    :start
    cd\bbs\node%%3%
    c:\bbs\stuff\something.exe config.%%3%
    :stop

    I am not sure if I explained myself correctly...

    I'm looking for environmet variables that I can pull up in a batch file.
    This might be a parameter that sends out the node number...

    good enough... I can add some lines in a batch file if need be and create my own.

    Thanx

    IB JOE
    AKA Joe Schweier
    SysOp of Joe's Computer & BBS
    Telnet: joesbbs.com

    --- Mystic BBS v1.12 A35 (Raspberry Pi/32)
    * Origin: Joe's Computer & BBS -=joesbbs.com=- (1:342/200)
  • From Nicholas Boel@1:154/10 to IB JOE on Wed Sep 27 16:45:16 2017
    Hello IB,

    On Wed Sep 27 2017 14:17:24, IB JOE wrote to Mike Fenton:

    Okay... read the doc a little...

    if I were to write a batch file, not saying I am, I'm just saying...

    :start
    cd\bbs\node%wcnodeid%\
    c:\bbs\stuff\something.exe config.%wcnodeid%
    :Stop

    Batch file would run, and if the user was on node 3, it would change
    the user to the directory \bbs\bode3\ and exicute an exe the
    something.exe file with config.3 bedide it....

    I don't even think this could be done with any BBS software unless you actually
    pass that node number to the batch file from the BBS itself.

    ergo,
    :start
    cd\bbs\node%%3%
    c:\bbs\stuff\something.exe config.%%3%
    :stop

    If you were to execute that batch file from Mystic, run "batchfile.bat %3" from
    the data line. That will pass the node number. Then use %1 in your batch file where you want that parameter.

    I am not sure if I explained myself correctly...

    I'm looking for environmet variables that I can pull up in a batch
    file. This might be a parameter that sends out the node number...

    As long as the batch file is executed by Mystic, the answer is: Yes. You can pass parameters to a batch file.

    good enough... I can add some lines in a batch file if need be and
    create my own.

    Looks like you've already answered your own question without waiting for an answer? Why bother posting the question then?

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From IB JOE@1:342/200 to Nicholas Boel on Wed Sep 27 17:08:57 2017
    I don't even think this could be done with any BBS software unless you actually pass that node number to the batch file from the BBS itself.


    I just mentioned 2 BBS software that do it

    Start:
    During operation, Synchronet may write to several different environment variables which can be utilized by other programs. Some of these environment variables are also used by the utility programs that are included with Synchronet as well as third party programs written for Synchronet. Following is a list of environment variables and a brief explanation of them:

    ....
    SBBSNNUM This variable contains the NUMBER of the active node. This
    variable is set by SBBS at the time it is executed.
    Stop:

    WINServer AKA WildCat 5 does the same thing. It generates WCNODEID as an environment variable when it spawns a window to run a door...

    The answer is no, or it sounds like it... no big because I can make one up in the batch file as needed.

    ...
    set nodenum=%3
    cd\bbs\node%nodenum%
    ...

    Just asking

    IB JOE
    AKA Joe Schweier
    SysOp of Joe's Computer & BBS
    Telnet: joesbbs.com

    --- Mystic BBS v1.12 A35 (Raspberry Pi/32)
    * Origin: Joe's Computer & BBS -=joesbbs.com=- (1:342/200)
  • From Nicholas Boel@1:154/10 to IB JOE on Wed Sep 27 21:15:44 2017
    Hello IB,

    On Wed Sep 27 2017 17:08:56, IB JOE wrote to Nicholas Boel:

    I don't even think this could be done with any BBS software
    unless you actually pass that node number to the batch file from
    the BBS itself.

    I just mentioned 2 BBS software that do it

    You obviously missed my point.

    Start:
    During operation, Synchronet may write to several different
    environment variables which can be utilized by other programs. Some
    of these environment variables are also used by the utility programs
    that are included with Synchronet as well as third party programs
    written for Synchronet. Following is a list of environment variables
    and a brief explanation of them:

    If Synchronet is the one executing the batch file (as mentioned in my last post) then yes, it is very possible. With everything I explained in my last post, Mystic is able to do this also. I also showed you how to do it.

    Hang on..

    MYSTIC IS ABLE TO DO THIS ALSO. I EXPLAINED THIS IN THE PREVIOUS MESSAGE!


    WINServer AKA WildCat 5 does the same thing. It generates WCNODEID as
    an environment variable when it spawns a window to run a door...

    Yep, same instance. But you're not paying attention.... again.

    The answer is no, or it sounds like it... no big because I can make
    one up in the batch file as needed.

    You're forcing your own answer to no. I told you the answer is YES. But you seem to have your own opinion on the matter, and don't care to pay enough attention to what anyone else says.

    ...
    set nodenum=%3
    cd\bbs\node%nodenum%
    ...

    Just asking

    No. That's not what your batch file should do. Just saying. Please re-read my last reply to you, because I'm not going to tell you more than once if you are going to make up your own decisions on what Mystic can and can't do.

    ... even though you were told otherwise. :(

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From IB JOE@1:342/200 to Nicholas Boel on Thu Sep 28 06:19:20 2017
    My question was does it do it automaticly or not... it was a yes or no question.

    Answer is no, you'll have to do them on the fly...

    But thanx

    IB JOE
    AKA Joe Schweier
    SysOp of Joe's Computer & BBS
    Telnet: joesbbs.com

    --- Mystic BBS v1.12 A35 (Raspberry Pi/32)
    * Origin: Joe's Computer & BBS -=joesbbs.com=- (1:342/200)
  • From Nicholas Boel@1:154/10 to IB JOE on Thu Sep 28 17:30:36 2017
    Hello IB,

    On Thu Sep 28 2017 06:19:20, IB JOE wrote to Nicholas Boel:

    My question was does it do it automaticly or not... it was a yes or no question.

    Answer is no, you'll have to do them on the fly...

    How is the answer no? When you execute the batch file from your events you pass
    the node parameter (%3). What more do you want!?!?

    But thanx

    If you're going to ask questions, then answer them yourself (wrong even).. Don't ask them at all.

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From IB JOE@1:342/200 to Nicholas Boel on Thu Sep 28 19:22:04 2017
    I simply wanted to know if mystic created it automaticly. Like it does in a
    few other packages.

    The answer was no it doesn't.

    That's what I was expecting, an answer yes or no.

    Doesn't make it bad or good, you're adding that in. Just makes it a fact.

    I can create one fine now that I know the answer..

    Relax... Mystic is good....

    IB JOE
    AKA Joe Schweier
    SysOp of Joe's Computer & BBS
    Telnet: joesbbs.com

    --- Mystic BBS v1.12 A35 (Raspberry Pi/32)
    * Origin: Joe's Computer & BBS -=joesbbs.com=- (1:342/200)
  • From IB JOE@1:342/200 to Nicholas Boel on Thu Sep 28 20:59:46 2017
    thanx

    IB JOE
    AKA Joe Schweier
    SysOp of Joe's Computer & BBS
    Telnet: joesbbs.com

    --- Mystic BBS v1.12 A35 (Raspberry Pi/32)
    * Origin: Joe's Computer & BBS -=joesbbs.com=- (1:342/200)
  • From mark lewis@1:3634/12.73 to Nicholas Boel on Fri Sep 29 11:44:58 2017
    On 2017 Sep 28 17:30:36, you wrote to IB JOE:

    My question was does it do it automaticly or not... it was a yes or
    no question.

    Answer is no, you'll have to do them on the fly...

    How is the answer no? When you execute the batch file from your events
    you pass the node parameter (%3). What more do you want!?!?

    i think the key word here is "automatic"... you have to specifically put "%3" in the data line to pass the node number... that's not "automatic"... i suspect
    the OP was looking for an already existing environment variable like %MYSTICNODE% similar to %WCNODE%... in the case of %WCNODE%, the BBS creates it
    in the spawned shell where the door script is executed... in this case, "%3" wouldn't need to be passed at all since the value should be the same as %MYSTICNODE% if it existed...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... She always flirts with the butcher... Playing for bigger steaks.
    ---
    * Origin: (1:3634/12.73)
  • From Nicholas Boel@1:154/10 to IB JOE on Fri Sep 29 17:27:10 2017
    Hello IB,

    On Thu Sep 28 2017 19:22:04, IB JOE wrote to Nicholas Boel:

    I simply wanted to know if mystic created it automaticly. Like it does
    in a few other packages.

    You mentioned Synchronet. Synchronet works the EXACT same way as Mystic. You have to physically put the variable into your command line string in your configuration when running a batch file from Synchronet itself.

    You can not run anything from the DOS, Linux, or Windows command line using the
    strings Synchronet uses, it is only for Synchronet itself unless you actually set them manually prior using SET or EXPORT (ie: SBBSNODE=, SBBSCTRL=, etc). Otherwise your computer would have no clue what you're talking about. Just like
    in Mystic's case, and I'm sure it's the same way in Wildcat or whatever else you mentioned previously.

    For example, In SCFG, Synchronet uses "%#" or some such to pass the node number
    to an external execution. Instead, Mystic uses "%3". Do you see the similarities there? If your same question's answer for Synchronet was "yes", then the same answer would be for Mystic.

    Do you need a picture drawn for you?

    The answer was no it doesn't.

    And neither does any of the other BBS softwares you mentioned previously that you think supposedly "do it".

    Relax... Mystic is good....

    Has nothing to do with Mystic. You ask a question, and when someone actually tries to answer and/or help you, you give some douschebaggy reply and change your tune to "I figured it out myself, I don't need you. This is how it is. I'm
    right!" If that's the case, don't ask the fuckin' question in the first place then if you're going to make up your own answer and not at least try to appreciate the help given.

    This is why you were originally asked if you were trolling, FYI (in case you still haven't figured it out).

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From Nicholas Boel@1:154/10 to mark lewis on Fri Sep 29 17:43:04 2017
    Hello mark,

    On Fri Sep 29 2017 11:44:58, mark lewis wrote to Nicholas Boel:

    i think the key word here is "automatic"... you have to specifically
    put "%3" in the data line to pass the node number... that's not "automatic"... i suspect the OP was looking for an already existing environment variable like %MYSTICNODE% similar to %WCNODE%... in the
    case of %WCNODE%, the BBS creates it in the spawned shell where the
    door script is executed... in this case, "%3" wouldn't need to be
    passed at all since the value should be the same as %MYSTICNODE% if it existed...

    You have to do the same for Synchronet as well, which he used as an example ("%#" passes the node number to an external program, and there are others). Since I have never run Wildcat, I only had his description of Synchronet to go by - in which Mystic does the same thing.

    As for %WCNODE%, does that not need to be configured to do so at some point? Or
    does it only do it when a setting is switched that the spawned shell will run a
    door? What if you don't want the node number passed to the shell spawned from the BBS, is there a way to disable it? If any of this is true, then nothing is "automatic".

    He asked how to do it, and I tried to help him by showing him how. He makes up his own answers and doesn't take your help. It's not the first time he's done it, and I can guarantee it won't be the last - HE'S BEEN A SYSOP SINCE 1991 FFS!

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From IB JOE@1:342/200 to Nicholas Boel on Fri Sep 29 17:12:34 2017
    thank you

    IB JOE
    AKA Joe Schweier
    SysOp of Joe's Computer & BBS
    Telnet: joesbbs.com

    --- Mystic BBS v1.12 A35 (Raspberry Pi/32)
    * Origin: Joe's Computer & BBS -=joesbbs.com=- (1:342/200)
  • From IB JOE@1:342/200 to Nicholas Boel on Fri Sep 29 17:20:17 2017
    As for %WCNODE%, does that not need to be configured to do so at some

    WINServer makes it automatically, just as the BBS shells out to run the
    door... as does Synchronet with SBBSNNUM.

    Either package does not require the sysop to do anything. I don't know when SynchroNET does this, but it does, WINServer writes a batch file that calls your batch file. In that process it sets wcnodeid. I'm not sure if you can modify that process... but that's how WINServer handles that.

    Thank god these are easy to setup in the batch process...

    IB JOE
    AKA Joe Schweier
    SysOp of Joe's Computer & BBS
    Telnet: joesbbs.com

    --- Mystic BBS v1.12 A35 (Raspberry Pi/32)
    * Origin: Joe's Computer & BBS -=joesbbs.com=- (1:342/200)
  • From Nicholas Boel@1:154/10 to IB JOE on Fri Sep 29 19:03:26 2017
    Hello IB,

    On Fri Sep 29 2017 17:20:16, IB JOE wrote to Nicholas Boel:

    Either package does not require the sysop to do anything.

    So you're referring to Synchronet on Linux? Yes, when a DOS door using DOSEMU is used, other batch files are ran to set the proper node directories, etc. However, you STILL need to use "%#" on the external program command line in order to pass the actual node number!

    --- Mystic BBS v1.12 A35 (Raspberry Pi/32)

    Just noticed this. Were you trying to get DOS doors working on a Raspberry Pi the whole time (before you used Synchronet as a door server)? If so, I wish you
    would've said something regarding that. There is no good DOS emulator on the Pi
    that will run DOS door games easily. Dosemu has not been ported for ARM devices
    which is why it's not available to install. That would've been why you had problems.

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From IB JOE@1:342/200 to Nicholas Boel on Sat Sep 30 05:20:25 2017
    No I was not referring to an OS in my original question...

    The question was a simple one... does the BBS package do it automaticly...

    If I were answering that question I would have said:

    :Start
    No it doesn't.... Here here is the parameters you'll need to create your
    own...
    :Stop

    I didn't ask a Linux/Windows/DOS/OS2 question.

    Mystic is good software. I run it, it has a lot of features and the setup is quite intuitive.

    I currently run the Linux Raspberyy Pi version of Mystic and been a good experience.

    IB JOE
    AKA Joe Schweier
    SysOp of Joe's Computer & BBS
    Telnet: joesbbs.com

    --- Mystic BBS v1.12 A35 (Raspberry Pi/32)
    * Origin: Joe's Computer & BBS -=joesbbs.com=- (1:342/200)
  • From Nicholas Boel@1:154/10 to IB JOE on Sun Oct 1 03:26:48 2017
    Hello IB,

    On Sat Sep 30 2017 05:20:24, IB JOE wrote to Nicholas Boel:

    No I was not referring to an OS in my original question...

    Now you're completely lost. I asked you about your OS due to your very first question in this echo about you not being able to get DOS door games working with Mystic. How about THAT original question?

    [ the rest of your idiocy deleted ]

    I currently run the Linux Raspberyy Pi version of Mystic and been a
    good experience.

    And my last question to you was asking you if this is the same OS you were running when you weren't able to get DOS door games working with Mystic..

    Please keep up.

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From IB Joe@1:342/200 to All on Fri Feb 25 07:56:06 2022
    IS there some easy way to be notified if someone uses a feature on the BBS... For example... If a new user creates a new account the SysOp is sent a message informing them that this has happened.

    Can something be done like that if/when a menu option has been triggered??

    Thanx

    IB Joe
    AKA Joe Schweier
    SysOp of Joe's BBS
    -=JoesBBS.com=-

    ... Unzip... expand... What kind of pervert came up with this?

    --- Mystic BBS v1.12 A48 2022/02/09 (Windows/64)
    * Origin: JoesBBS.Com, Telnet:2323 SSH:2222 HTTP:80 (1:342/200)
  • From fang-castro@1:218/650 to IB Joe on Fri Feb 25 21:47:04 2022
    On 25 Feb 2022, IB Joe said the following...

    IS there some easy way to be notified if someone uses a feature on the BBS... For example... If a new user creates a new account the SysOp is sent a message informing them that this has happened.

    Can something be done like that if/when a menu option has been
    triggered??

    you could put something in the prelogin menu that only works for new users.

    i think you can call scripts from prompts too.

    |04--- |08Three words that describe my work ethic: Lazy.

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: > seek Slack at Nighvault.fsxnet.nz:2323 < (1:218/650)
  • From g00r00@1:129/215 to IB Joe on Mon Feb 28 10:50:42 2022
    IS there some easy way to be notified if someone uses a feature on the BBS... For example... If a new user creates a new account the SysOp is sent a message informing them that this has happened.

    Yes you can do this is many ways.

    Specifically for new users, Mystic already does this automatically for you as long as you have "sysletter.txt" in the data directory and you have the "Feedback To" field in the System Configuration set to your user name.

    You will get an email whenever a new account is created.

    Default installations of Mystic do include a sysletter.txt by default so if you are not seeing this happen, check to make sure it exists and that your Sysop names and Feedback To names are configured.

    ... Origin of Life? Just check my refrigerator...

    --- Mystic BBS v1.12 A48 2022/02/17 (Windows/32)
    * Origin: Sector 7 * Mystic WHQ (1:129/215)
  • From IB Joe@1:342/200 to g00r00 on Mon Feb 28 12:17:27 2022
    On 28 Feb 2022, g00r00 said the following...

    IS there some easy way to be notified if someone uses a feature on th BBS... For example... If a new user creates a new account the SysOp i sent a message informing them that this has happened.

    Yes you can do this is many ways.

    Specifically for new users, Mystic already does this automatically for
    you as long as you have "sysletter.txt" in the data directory and you
    have the "Feedback To" field in the System Configuration set to your
    user name.

    You will get an email whenever a new account is created.

    Default installations of Mystic do include a sysletter.txt by default so if you are not seeing this happen, check to make sure it exists and that your Sysop names and Feedback To names are configured.


    I would like to thank you for your response... I read over my initial message and I see where the source of confusion is.... I'll try to explain myself a little better.

    I would like to be notified when someone presses a menu feature... LIKE when a New User registers as a user. For example I can be notified every time someone access a specific Door or whatever..

    Thanx in advance...

    IB Joe
    AKA Joe Schweier
    SysOp of Joe's BBS
    -=JoesBBS.com=-

    ... Intelligence tests are biased toward the literate.

    --- Mystic BBS v1.12 A48 2022/02/09 (Windows/64)
    * Origin: JoesBBS.Com, Telnet:2323 SSH:2222 HTTP:80 (1:342/200)
  • From g00r00@1:129/215 to IB Joe on Mon Feb 28 18:10:29 2022
    I would like to thank you for your response... I read over my initial message and I see where the source of confusion is.... I'll try to
    explain myself a little better.

    There are plenty of examples where I skim messages and miss the point too!

    Sorry if I did that this time! :)

    I would like to be notified when someone presses a menu feature... LIKE when a New User registers as a user. For example I can be notified
    every time someone access a specific Door or whatever..

    Yes you can do that and there are a few different ways to do that as well.

    Lets say you want an e-mail sent to you whenever a user runs the door LORD and you have a LORD menu item in your door menu. It might look like this:

    Display Text | (L)ORD
    HotKey | L

    Action List
    (DD) Execute external program lord.bat

    So what you could do is TAB so you can edit that Action List and when the "(DD) Execute..." line is highlighted you can /I to insert an action before it.

    Press ENTER on the new action that was created, then select "Command" and pick "(MX) Post text file to base".

    In the "Data" field set it to:
    runlord.txt;1;Mystic BBS;IB Joe;LORD has been executed

    Then exit out and save it.

    Mystic should now e-mail "IB Joe" with whatever text is in "runlord.txt" in your DATA folder. This will happen any time someone selects the LORD command (hotkey L) on the menu.

    I hope that helps I may not be the best at explaining, but I will try to help you through it. Your "Menu Command/Action list" in the menu editor would now look something like this:

    Display Text | (L)ORD
    HotKey | L

    Action List
    (MX) Post text file to base runlord.txt;1;<etc,etc>
    (DD) Execute external program lord.bat

    In other words, Mystic will do whatever is in the Action List anytime the L key is pressed on that menu, and your Action List tells it to e-mail you and then run the door.

    ... I don't have the time for a hobby. I have a computer.

    --- Mystic BBS v1.12 A48 2022/02/28 (Windows/64)
    * Origin: Sector 7 * Mystic WHQ (1:129/215)
  • From IB Joe@1:342/200 to g00r00 on Mon Feb 28 17:26:59 2022
    On 28 Feb 2022, g00r00 said the following...
    In the "Data" field set it to:
    runlord.txt;1;Mystic BBS;IB Joe;LORD has been executed


    Worked perfectly

    Thanx

    IB Joe
    AKA Joe Schweier
    SysOp of Joe's BBS
    -=JoesBBS.com=-

    ... There is an exception to every rule, except this one.

    --- Mystic BBS v1.12 A48 2022/02/09 (Windows/64)
    * Origin: JoesBBS.Com, Telnet:2323 SSH:2222 HTTP:80 (1:342/200)