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
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
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.
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 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:
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
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
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.
Relax... Mystic is good....
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...
As for %WCNODE%, does that not need to be configured to do so at some
Either package does not require the sysop to do anything.
--- Mystic BBS v1.12 A35 (Raspberry Pi/32)
No I was not referring to an OS in my original question...
I currently run the Linux Raspberyy Pi version of Mystic and been a
good experience.
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 28 |
Nodes: | 8 (0 / 8) |
Uptime: | 125:45:15 |
Calls: | 1,998 |
Calls today: | 2 |
Files: | 11,111 |
Messages: | 943,012 |