script cann't work(update 2.9-to3.27)

Dear all:
please help me checking this script
/ip dns cache all
:local QQ
:set QQ “tencent,qqtcp,qq.com
:foreach DNS in [find type=A] do={
:local Dname [get $DNS name]
:local Dip [get $DNS data]
:local Dttl [get $DNS ttl]
:if($Dttl!=1d) do={
:foreach k in=$QQ do={
:if([:find $Dname $k]!=[:nothing]) do={
:set i [/ip firewall address-list find address=$Dip]
:if($i=“”) do={
/ip firewall address-list add list=TQQ disabled=no address=$Dip
/ ip dns static add name=$Dname address=$Dip ttl=1d
}}}}}

try

find type="A"