Created
May 8, 2018 16:00
-
-
Save whoishusni/a5b4be2774071e040ca7795d4d15b51a to your computer and use it in GitHub Desktop.
my mikrotik script login
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:local jam [/system clock get time] | |
:local uptime [/ip hotspot user get [find name=$user] uptime] | |
:local limit [/ip hotspot user get [find name=$user] limit-uptime] | |
:local teks "User $user Dengan IP Address $address Telah LOGIN pada Jam $jam, dan waktu yang terpakai adalah $uptime dari $limit "; | |
/tool fetch url="https://api.telegram.org/bot590339726:AAFnWxOfIlysJ9aFBa8Uy7WNBw69yNkLUmw/sendMessage?chat_id=356212397&text=$teks" keep-result=no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment