working changeip script

Hello

I want to test the beta10, but the old changeip script not working. (It’s realy important for me. Email, etc..)
Can anybody help me with a working sript, or the sripts absolutly no work in beta 10?

I will try this tomorrow. If the variables and scripting is still broken in b10 then it’s not going to work, as in b9. I will test and report back.

i have a working script for b10.

:log info “DDNS: Begin”

:global ddnsuser “user”
:global ddnspass “pass”
:global ddnshost “host.dyndns.pro”
:global ddnsinterface “name of the interface”
:global ddnslastip

:global ddnsip [ /ip address get [/ip address find interface=$ddnsinterface] address ]

:if ( $ddnslastip = nil ) do={ :global ddnslastip 0.0.0.0/0 }

:if ([ :typeof $ddnsip ] = nil ) do={

:log info ("DDNS: No ip address present on " . $ddnsinterface . “, please check.”)

} else={

:if ($ddnsip != $ddnslastip) do={

:log info “DDNS: Sending UPDATE!”
:log info [ /tool dns-update name=$ddnshost address=[:pick $ddnsip 0 [:find $ddnsip “/”] ] key-name=$ddnsuser key=$ddnspass ]
:global ddnslastip $ddnsip

} else={

:log info “DDNS: No change”

}

}

Thank for the help