Script of 2.9 version not running on version 3

Hi i have upgraded from 2.9.46 version to version 3

havet his script not working pls let me know what i should change in it
thanks in advance

:local traf;
/queue simple
:for i from=1 to= 254 do = {
:if ([/queue simple find target-addresses=(“172.15.15.” . $i)] != “”) do={
:set traf [get [find target-addresses=(“172.15.15.” . $i)] total-bytes]
:if ($traf < 104857600) do = {
set [find target-addresses=(“172.15.15.” . $i)] max-limit= 32000/256000 limit-at=32000/200000
}
}
}

Try this one.

:local traf;
/queue simple
:for i from=1 to=254 do={
:local ip “172.15.15.$i/32”
:if ([/queue simple find target-addresses=($ip)] != “”) do={
:set traf [get [find target-addresses=($ip)] total-bytes]
:if ($traf < 104857600) do={
set [find target-addresses=($ip)] max-limit= 32000/256000 limit-at=32000/200000
}
}
}

thank you it worked