New Function

How to write new function in list of functions and do not use build-in functions or maybe it possible to change functionality of build-in functions?

what would you have the self built function do?

I need to find all indexes of elements in array, that match some criteria, and I used the function array_find(), but it returns only one first found index. How make it work, like I need?

Yeah probably a question for gsandul but there is no while or loop function so I don’t know how you would make it work past the first match.

:laughing:
But you are right “no while or loop function” in The Dude. And no way to find all indexes of elements in array.

You could check out trying to call an external with a probe…

Just search the dude forum for
snmp execute