Script - To keep Rule in /ip firewall nat always I finish it

Friends, I am developing a system that orders script pra mikrotik and necessary it knows as I make pra to discover I number it of a rule in /ip firewall nat or senão as I always place a new rule in /ip firewall nat above of the other that ja this in /ip firewall nat

example


0 ;;; Bloqueio por fata de pagamento =willian
chain=dstnat src-address=10.0.0.57 protocol=tcp dst-port=0-65535 action=dst-nat
to-addresses=201.88.73.55 to-ports=80

1 ;;; mascaramento
chain=srcnat src-address=10.0.0.0/16 action=masquerade

2 ;;; mascaramento-1
chain=srcnat src-address=10.0.0.0/16 action=masquerade

3 ;;; Proxy
chain=dstnat src-address=10.0.0.0/16 protocol=tcp dst-port=80 action=redirect
to-ports=3126

Likes to keep this regre “Proxy” always as finishes as to make? New the rule always is signs of this of the “Proxy”, more way script


:put [/ip firewall nat get [/ip firewall nat find comment=“Proxy”] numbers ] ??? erro ?




############### Portugues #######################

Amigos, estou desenvolvendo um sistema que manda script pra o mikrotik e preciso sabe como faço pra descobrir o numero de um regra no /ip firewall nat ou senão como coloco uma nova regra no /ip firewall nat sempre acima das outra que ja esta no /ip firewall nat


exemplo


0 ;;; Bloqueio por fata de pagamento =willian
chain=dstnat src-address=10.0.0.57 protocol=tcp dst-port=0-65535 action=dst-nat
to-addresses=201.88.73.55 to-ports=80

1 ;;; mascaramento
chain=srcnat src-address=10.0.0.0/16 action=masquerade

2 ;;; mascaramento-1
chain=srcnat src-address=10.0.0.0/16 action=masquerade

3 ;;; Proxy
chain=dstnat src-address=10.0.0.0/16 protocol=tcp dst-port=80 action=redirect
to-ports=3126


Gosta de manter esta regre “Proxy” sempre como ultima como fazer ? As novas regra sempre fique assina deste do “Proxy” , mais via script