:local nama "$user"; :local botid "bot2119637574:AAHxWbrKi6pjP4K4CFsBkfvE3b72sWKotLU"; :local chatidgroup "-1001736163067"; :local chatidadmin "1625958596"; :local active [/ppp active print count]; :local date [/system clock get date]; :local time [/system clock get time]; :local ips [/ppp active get [find name=$nama] address]; :local up [/ppp active get [find name=$nama] uptime]; :local caller [/ppp active get [find name=$nama] caller-id]; :local service [/ppp active get [find name=$nama] service]; :local profile [/ppp secret get [find name=$nama] profile]; :local ratelimit [/ppp profile get [find name=$profile] rate-limit]; :local local [/ppp profile get [find name=$profile] local-address]; :local lastdisc [/ppp secret get [find name=$nama] last-disconnect-reason]; :local lastcall [/ppp secret get [find name=$nama] last-caller-id]; :local incomebulan [/system script get [find name="incomebulan"] source]; :local expenditurebulan [/system script get [find name="expenditurebulan"] source]; :local saldobulan [/system script get [find name="saldobulan"] source]; :local belumbayarbulanini [/system script get [find name="belumbayarbulanini"] source]; :local laporan "~%20PPPoE%20LOGOUT%20@Naufal.ID%20~%0A-%20Tanggal%20:%20$date%0A-%20Jam%20/%20Waktu%20:%20$time%20WIB%0A-%20Dengan%20Akun%20:%20$nama%0A-%20Alamat%20IP%20:%20$ips%0A-%20Pintu%20Gerbang%20:%20$local%0A-%20MAC%20:%20$caller%0A-%20Aktif%20Selama%20:%20$up%0A-%20Tipe%20Layanan%20:%20$service%0A-%20Paket%20:%20$profile%0A-%20Speed%20Internet%20:%20$ratelimit%0A-%20Alasan%20Putus%20:%20$lastdisc%0A-%20ID%20Akhir%20:%20$lastcall%0A-%20Pendapatan%20$incomebulan%0A-%20Pengeluaran%20$expenditurebulan%0A-%20Sisa%20Saldo%20$saldobulan%0A-%20Belum%20Bayar%20$belumbayarbulanini%0A-%20Total%20Aktif%20:%20$active%20Client"; :local pesannya "Koneksi%20Internet%20@Naufal.ID%0Aa/n%20$nama%20saat%20ini%20sedang%20Terputus.%0AAdmin%20/%20Teknisi%20terkait%20mohon%20segera%20Cek,%0ATerimakasih."; /tool fetch http-method=post url="https://api.telegram.org/$botid/sendMessage?chat_id=$chatidgroup&text=$pesannya" mode=http keep-result=no; /tool fetch http-method=post url="https://api.telegram.org/$botid/sendMessage?chat_id=$chatidadmin&text=$pesannya" mode=http keep-result=no; /tool fetch http-method=post url="https://api.telegram.org/$botid/sendMessage?chat_id=$chatidgroup&text=$laporan" mode=http keep-result=no; /tool fetch http-method=post url="https://api.telegram.org/$botid/sendMessage?chat_id=$chatidadmin&text=$laporan" mode=http keep-result=no;