I am trying to run a script that checks a global variable then does a command…
The variable is set by another script that runs OK.
And the variable is visible in the Env window …
If I copy and paste the text to the command line it runs…and updates the log.
Hit the run script button and it doesn’t.
:if ($sysmanping=0) do={ :log info "test ok" }
#
What am I doing wrong?
I would have to quess that the :if command is not in the right place to run from the script button…I dont know…
I am learning this , one line at time, and have tried many variations of the above code …and only get it to run from a copy and paste to the terminal.