Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- :local nama "$user";
- :local ips [/ip hotspot active get [find user="$nama"] address];
- :local mac [/ip hotspot active get [find user="$nama"] mac-address];
- :local host [/ip dhcp-server lease get [find address="$ips"] host-name];
- :local lby [/ip hotspot active get [find user="$nama"] login-by];
- :local limit [/ip hotspot active get [find user="$nama"] limit-bytes-total];
- :local totq [(($limit)/1048576)];
- :local useraktif [/ip hotspot active print count-only];
- :local exp [/ip hotspot active get [find user="$nama"] comment];
- /tool fetch url="https://api.telegram.org/botBOT/sendMessage?chat_id=CHAT_ID&text=Login :%0A$nama%0A$ips %0A$mac%0A$host%0Alogin-by : $lby%0Akuota : $totq Mb%0ATerhubung : $useraktif user %0AExpire: $exp" mode=http keep-result=no;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement