script for address-list

Hi,

can anyone help me how to write script what search address-list for defined IP and delete it if is present ? best will be if that script can search only in defined list, not in all. I trying some scripts but not succesed :frowning:

Thanks

/Tomi

Can help me and Tomi :slight_smile: with the same question?

/ip firewall address-list remove [/ip firewall address-list find list=bogons address=10.0.0.0/8]

Sam

Thanks

Thanks.

Saved me lots of swearing