+1 !!!Any word on when this feature might be implemented? been a looong time waiting .....
I answer to myself: I found the verbose=yes option of /import :Or is there a debug, trace, or step-by-step mode for running scripts ?
/import myScript.rsc verbose=yes
Beware that this won't work if your script is above 4Kb ! (See this post ).all RouterOS have this.
Code: Select allin CLI - /system script edit <script-name> source
:foreach varname in={"VAR1" ; "VAR2" ; "VAR3" } do={:execute ":global $varname \$VALUE" }
:foreach varname in={"VAR1" ; "VAR2" ; "VAR3" } do={:parse ":global $varname \$VALUE" }
Thanks for the answer, even though I would have prefer a solution...Edit from console is limited to 4KB.