sopyanx

login logout

Aug 28th, 2019
1,357
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2. :local nama "$user";
  3. :local ips [/ip hotspot active get [find user="$nama"] address];
  4. :local mac [/ip hotspot active get [find user="$nama"] mac-address];
  5. :local host [/ip dhcp-server lease get [find address="$ips"] host-name];
  6. :local lby [/ip hotspot active get [find user="$nama"] login-by];
  7. :local limit [/ip hotspot active get [find user="$nama"] limit-bytes-total];
  8. :local totq [(($limit)/1048576)];
  9. :local useraktif [/ip hotspot active print count-only];
  10. /tool fetch "https://api.telegram.org/bot552750641:AAGlWdQJkfAIOZzbyGXlbst6_NJXk-XXXXX/sendMessage?chat_id=39641XXX&text=Login :%0A$nama%0A$ips %0A$mac%0A$host%0Alogin-by : $lby%0Akuota : $totq Mb%0ATerhubung : $useraktif user" mode=http keep-result=no;
  11. }
RAW Paste Data