Parameters in a function

Is there a way to send parameters to a function using a probe? There are many multiple OIDs I want to monitor on different interfaces and I was wondering if there was a way to create functions that can be used by multiple probes by sending a parameter instead of having to write a new function for each interface.

I have an example of using a function in a probe here:
http://forum.mikrotik.com/t/how-to-track-lte-signal-using-the-dude/163250/1

It does not use not function parameters, however. I just created multiple functions rather than take an argument. Reason being is I’m not 100% on how to correctly use arguments. $1 etc should work, but the syntax gets wonky and undocumented so I didn’t try further… but $1 $2 is AFAIK how you do it.

Maybe someone else can chime in, since without a bunch of trial-and-error, IDK…