ROS 7 script help needed

Hello!

https://github.com/pwlgrzs/Mikrotik-Blacklist

I used this on ros6, but on ros7 the intsall script wont work.

/ip firewall address-list remove [find where list=“pwlgrzs-blacklist”]; /import file-name=blacklist.rsc; /file remove blacklist.rsc

Can someone help me convert this to ros7 compatible version? Thx!

copy it into system script and save. then type in the terminal:

/system script edit namescript source

where the text no longer has the usual mikrotik colors there is an error that needs to be adapted. another solution is to put a { before the script and a } after the script and paste it into the terminal. This way you can see where there is a syntax error