I was using 2.9.x and has this script to add ip address to mangle:
/ip firewall mangle remove [/ip firewall mangle find comment=nigdje]
:if ([:len [/ip firewall mangle find src-address=$ipa]] > 0) do={:put true} else={/ip firewall mangle add chain=prerouting src-address=$ipa action=mark-connection new-connection-mark=$tip comment=$comm passthrough=no}
/ip firewall mangle add chain=prerouting action=mark-connection new-connection-mark=nigdje comment=nigdje protocol=tcp dst-port=80
But after upgrading, I got syntax error…
syntax error (line 2 column 51)
what is wrong…it seems fine…