I will be loading up 4.x this week and making a script that works. . . on my top priority list going forward. It seems like global variables dont work in 4.x, or something else is wrong. Will post more details in a bit.
does Mikrotik have any beta release plan?
I have to take decision about waiting a new beta release or downgrade to V3.30 (license key downgrade terror .. )
I Found problem with this sentence:
:if ([:typeof [/ip route get $int routing-mark ]] != str ) do={…
But… It’easy to workaround it. the real problem is that:
:global ddnsinterface [/ip route get $int interface]
“Interface” field doesn’t exist more …
Off course there is some strange behaviour regarding global variables. Some global variables behaves like local.
If you set some global variable in script1, :env print will show some variable set, and some variable = [:nothing]