update local-adress in 6to4 interface

i do not have enough knowledge to solve this
problem is to get ip address of interface and set it as paramter to another interface

:global int “ether1”
:global intip [ /ip address get [/ip address find interface=$int] address ]

:log info ($intip)

and i need to pass $intip as local-address to 6to4 interface named sit1
i tried changing parameters from other scripts but still unable to complete task.
i just need some help in command to set specific parametar on specific interface

{
:local int "ether1"
:local int2 "ether2"
:local intip [ /ip address get [/ip address find interface=$int] address]
/ip address set interface=$int2 address=$intip
}

that’s what you need

second part of post is solution to my problem

http://forum.mikrotik.com/t/no-ip-and-he-tunnel-scripts-for-v5-11/53253/1

end of script has problem and wont set ipv6 default route so i removed lines that remove default gw and set gateway, as it seems that parametar never changes on HE tunnel and should remain static