Add some more debugging output to the script - note the lines in the existing script like this:
:log info (“DnyDNS-OVH: OK (!! New IP !! => “.$CurrentPublicIP.”)”);
You could insert a line at the very beginning:
:log info (“DynDNS Update script running…”)
and place a few of these throughout the script, and then check your log to see if these outputs are appearing in the log.
If not, then chances are good that there is a typo or syntax error in the script.
Try uploading the script to the router as an .rsc file and then running it from the command-line:
:import foo.rsc
the :import function will give the line number where any syntax error is found. It’s annoying that you don’t get this output when running scripts from the scripts menu. (maybe there’s a logging target which will show it - I haven’t found one but I’m sure the script gurus here can point it out if it’s there)