Closed hellracer closed 1 year ago
You need to declare the function first. Put this once before the function calls:
: global SendNotification;
(Or similar for SendTelegram
...)
Probably something to add in documentation...
That was fast, thanks it works!!!
Added some more details in 8284035ad8e945f70859c3a9a270058546d11cb6, c0aeee3d3eb4abc006a3cfd4f57da7ab9f290e03 & e9b7c7f7ed540e88006c626c205d9c60c50c1677.
$SendNotification or $SendTelegram is working properly if invoke in the terminal of mikrotik but calling it inside the script did nothng