Hi everyone.
I need Script that make ( Daily Sales Report ) of user-manager via Telegram ..
Can you help me please?
PLEASE HELP ME ![]()
Hi everyone.
I need Script that make ( Daily Sales Report ) of user-manager via Telegram ..
Can you help me please?
PLEASE HELP ME ![]()
:global EventHandler do={
/log info “New Event username=$Name changed”;
send to Telegram
:return 0;
};
:execute {
:global EventHandler;
/user-manager … follow-only where [$EventHandler Name=$name];
};
Use this tracking script. In it, replace the dots with the data section of interest /user-manadger. Replace the phrase send to Telegram with the code for sending the necessary data to your Telegram chat bot. Instead of $name, get the necessary properties of /user manadger and pass them through function parameters $1 … $n to the message forwarding code.
http://forum.mikrotik.com/t/mikrotik-events-script-new-abroach/176282/1