You are on page 1of 1

:local bot "5679554246:AAEcBieajTgqP_7DrwRGf5MLlCjuseCXhpU";

:local chat "1344182808";


:local lastlogout [/ppp secret get [find name=$user] last-logged-out];
:local lastcall [/ppp secret get [find name=$user] last-caller-id];
:local active [/ppp active print count];
:local datetime "Tanggal: $[/system clock get date] %0AJam: $[/system clock get
time]";
/tool fetch url="https://api.telegram.org/bot$bot/sendmessage?chat_id=$chat&text=\
E2\9D\8CPPPOE-LOGOUT %0A$datetime%0AUSER: $user%0ALast Disconnect Reason: $lastdisc
%0ALast Logout: $lastlogout %0ALast Caller ID: $lastcall %0ATotal active: $active
Client" keep-result=no;
:log warning "$datetime%0AUSER: $user%0ALast Disconnect Reason: $lastdisc %0ALast
Logout: $lastlogout %0ALast Caller ID: $lastcall %0ATotal active: $active Client";

:local bot "5679554246:AAEcBieajTgqP_7DrwRGf5MLlCjuseCXhpU";


:local chat "1344182808";
:local lastdisc [/ppp secret get [find name=$user] last-disconnect-reason];
:local lastlogout [/ppp secret get [find name=$user] last-logged-out];
:local lastcall [/ppp secret get [find name=$user] last-caller-id];
:local active [/ppp active print count];
:local datetime "Tanggal: $[/system clock get date] %0AJam: $[/system clock get
time]";
/tool fetch url="https://api.telegram.org/bot$bot/sendmessage?chat_id=$chat&text=\
E2\9D\8CPPPOE-LOGOUT %0A$datetime%0AUSER: $user%0ALast Disconnect Reason: $lastdisc
%0ALast Logout: $lastlogout %0ALast Caller ID: $lastcall %0ATotal active: $active
Client" keep-result=no;
:log warning "$datetime%0AUSER: $user%0ALast Disconnect Reason: $lastdisc %0ALast
Logout: $lastlogout %0ALast Caller ID: $lastcall %0ATotal active: $active Client";

You might also like