Monitoring Bot Telegram Voucher Aktif dan Expired Pada MikroTik

 


on login =>

:local dvc [/ip dhcp-server lease get [find mac-address=”$mac”] host-name];
:local Mpkt [/ip hotspot user get [find name=”$user”] profile];
:local exp [/ip hotspot user get [find name=”$user”] comment];
/tool fetch url=”https://api.telegram.org/botxxxxxxxxxxxxxxxxxxxxxxxx/sendMessage?chat_id=xxxxxxxxx&text==== AKTIVASI BERHASIL ===%0A- Kode Voucher : $user%0A- IP Address : $address%0A- Mac Address : $mac%0A- Device : $dvc%0A- Paket : $Mpkt%0A- Status Aktif : $date $time%0A- Expired : $exp” keep-result=no;

schedular =>

:local bot “xxxxxxxxxxxxxxxxxxxxxxxxxxxx”
:local chat “xxxxxxxxxxxx”
/tool fetch url=”https://api.telegram.org/bot$bot/sendmessage\?chat_id=$chat&text=Voucher $name Expire” keep-result=no;


 

Content Creator

You might also like
Pulihkan Script Mikhmon User Profile Yang Terhapus

Pulihkan Script Mikhmon User Profile Yang Terhapus