Hello ,
wanted to know if I can do this:
setup value to global
then run a script
no if there is no such script the global will stay 0 ; if there is it will get the value from it
example:
:global test 0;
:execute script="test"; ### when the script run it +1 the global veriable test;
global test;
but all I get is test = 0;
can I do what I wnat to do?
\
also another related question
I found I can use this :
:do {/system script run test} on-error={};
which is good for me for this case casue I can do
on-error={:test=0};
but can I print or get the reason it has error?
“no such script”
“script writing error”
something?
Thanks ,