This simple scripts are designed to implement DDNS feature using the service Cloudflare.
DDNS
Scripts work only on RouterOS version 6.44 and above.
RouterOS
Depends on Mikrotik JSON Parser project installed as system script with name JParseFunctions.
JParseFunctions
You may add this script to system scheduler as periodically task.