'find' command returns nothing

Hi all,

I did not do much RouterOS scripting before, and now I have encountered unexpected behavior of the ‘find’ command.

I could not make it return anything, even without any arguments. If I issue command /ip address print, I get a list of IP addresses for all active interfaces. At the same time command /ip address find just silently returns nothing.

What is the trick? Do I miss anything or do in a wrong way? Is there any magic toggle for the ‘find’ command to be enabled?

Any ideas are most appreciated…

Thanks,
Sergey

‘find’ is not supposed to print anything, it returns information other commands can use, something like:

/ ip address remove [ find where interface="etherX" ]

… will remove all ip addresses from interface “etherX”.

Thank you eworm. Unfortunately I was not aware of topic subscriptions not being implicit, so I’ve failed to see you response earlier.

I am aware now of the :put command, so my problem is solved, still thank you for responding :slight_smile: