Script untuk user bukan langganan tetap Hotspot Berdasarkan Waktu ==> tidak redirect ke halaman isolir dan user langsung dihapus supaya tidak jadi sampah
:local usernya $user;
:local date [/sys cl get date];
:local time [/sys cl get time];
:log warning “$usernya telah login pada jam $time”;
{
:if ([/sys sch find name=$usernya]=””) do={
/sys sch add name=$usernya interval=1m on-event=”/ip h u rem [find name=$usernya]\r\n/ip h ac rem [find user=$usernya]\r\n/system sch rem [find name=$usernya]”
}
}
Script untuk user bukan langganan tetap Hotspot berdasarkan Quota (Script yang digunakan tergantung pake nya bytes in,out,atau Total) ==> tidak redirect ke halaman isolir & user dihapus
/ip hotspot user remove [find profile =”5MB tidak tetap” bytes-out + bytes-in >limit-bytes-total ] ==> Gabungan Bytes In & Out lebih besar dari Limit Bytes Total. ini digunakan untuk user yg dilimit bytes total nya
/ip hotspot user remove [find profile =”5MB tidak tetap” bytes-out >limit-bytes-out ] ==> Bytes Out adalah Download. Script ini untuk hapus user yg download (bytes out) nya sudah lbh besar dr Limit Bytes Out nya
/ip hotspot user remove [find profile =”5MB tidak tetap” bytes-in >limit-bytes-in ] ==> Bytes In adalah Upload. Script ini untuk hapus user yg upload (bytes in) nya sudah lbh besar dr Limit Bytes In nya
