Ask.Can not run the script

#Disturbed. I have a problem.
#The script can not run.
#Can you help me do correct?
#V3.13

:global myip [:resolve “xxxx.cbef.net”]
:global dnsip [/ip firewall filter get [/ip firewall filter find comment=“abc”] dst-address]

:if ($myip != $dnsip) do={
/ip firewall filter set [/ip firewall filter find comment=“abc”] dst-address=$myip

run this script from the terminal and see where it stops.

The resolve command does not work with V3.13. You will need to upgrade to a later version of RouterOS.