Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *** ip hotspot user profile ---> on login ***
- 1. user profile "expired-1hari" , on login script :
- *** copas script dibawah ini di on login user profile ****
- {
- :local usernya $user;
- :if ([/system schedule find name=$usernya]="") do={
- /system schedule add name=$usernya interval=1d on-event="/ip hotspot user remove [find name=$usernya]\r\n/ip hotspot active remove [find user=$usernya]\r\n/system schedule remove [find name=$usernya]\r\n/system schedule remove [find name=$usernya]\r\n/ip hotspot cookie remove [find user=$usernya]"
- }
- }
- *** yang ini jangan ikut di copas ***
- ubah expired harinya di bagian interval=1d menjadi 2d atau 3d dan seterusnya dimana d=hari
Add Comment
Please, Sign In to add comment