Help with my automatic script

i want to user the next script to acomodated by every nat rule a queue, but it dont show me the name has the comment of the nat rule

:foreach i in=[/ip firewall nat find where action=src-nat] do={
/queue simple add name=[[/ip firewall nat get $i comment] target=[/ip firewall nat get $i src-address] max-limit=2M/2M
}

Is the double “[[” a typo in your script, or only in your posting?

and missing single “]” at the end or double “]]” at the end.