Ahoj , prosím o korekci scriptu.
/system script
add name=addresslist source="#nacte adresu z address listu NewUser\
\n:local newUser \"\"\
\n\
\n:foreach ip in=[/ip firewall address-list find list=NewUser] do={\
\n :put 1\
\n :set newUser [/ip firewall address-list get \$ip address]\
\n :put 2\
\n :put \$newUser\
\n /ip firewall address-list add address=\$newUser list=Users comment=\$newUser\
\n :put 3\
\n /ip firewall mangle add action=jump chain=prerouting jump-target=UP-\$newUser src-address=\$newUser comment=Jump-To-User-Upload-$newUser\
\n :put 4\
\n /ip firewall mangle add action=jump chain=postrouting dst-address=\$newUser jump-target=DOWN-\$newUser comment=Jump-To-User-Download-\$newUser\
\n :put 5\
.
.
.
.
.
.
3 i řádek po něm projde, ale 4 vyhodí chybu
[admin@MikroTik] /system script> \n :put 4\
expected command name (line 1 column 5)
Už si s tím tady lámu hlavu celkem dlouho a nevím si moc rady.
Díky za pomoc.