Advertisement
catseyebd

Untitled

Mar 5th, 2021
1,260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.41 KB | None | 0 0
  1. :put (",lock_report,3,25,");{:local price (25);:local date [/system clock get date ];:local time [/system clock get time ];:local tgl [:pick $date 4 6];:local bln [:pick $date 0 3];:local thn [:pick $date 7 11];:local uptime (3d);:local macaddressnya $"mac-address";:local ipaddressnya $"address";:local servernya server;[/ip hotspot user set mac-address=$"macaddressnya" comment="used-|-$tgl-|-$bln-|-$thn" [find where name=$user]];[/system scheduler add disabled=no interval=$uptime name=$user on-event= "[/ip hotspot active remove [find where user=$user]];[/ip hotspot user remove [find where name=$user]];[/ip hotspot cookie remove [find user=$user]];[/sys sch re [find where name=$user]]" start-date=$date start-time=$time];[/system script add name="$tgl-|-$bln-|-$thn-|-$price-|-$user-|-$ipaddressnya-|-$macaddressnya" source=$servernya comment=i4e];[/system scheduler add disabled=no interval=10 name=$macaddressnya on-event= ":local server [/ip hotspot active get [find user=$user] server];[/system script set source=$[:local server server] [find where name=\"$tgl-|-$bln-|-$thn-|-$price-|-$user-|-$ipaddressnya-|-$macaddressnya\"]];[/sys sch re [find where name=$macaddressnya]]" start-date=$date start-time=$time];}}
  2.  
  3.  
  4.  
  5. :put (",lock_report,3,25,");{:local price (25);:local date [/system clock get date ];:local time [/system clock get time ];:local tgl [:pick $date 4 6];:local bln [:pick $date 0 3];:local thn [:pick $date 7 11];:local uptime (3d);:local macaddressnya $"mac-address";:local ipaddressnya $"address";:local servernya server;[/ip hotspot user set mac-address=$"macaddressnya" comment="used-|-$tgl-|-$bln-|-$thn" [find where name=$user]];[/system scheduler add disabled=no interval=$uptime name=$user on-event= "[/ip hotspot active remove [find where user=$user]];[/ip hotspot user remove [find where name=$user]];[/ip hotspot cookie remove [find user=$user]];[/sys sch re [find where name=$user]]" start-date=$date start-time=$time];[/system script add name="$tgl-|-$bln-|-$thn-|-$price-|-$user-|-$ipaddressnya-|-$macaddressnya" source=$servernya comment=codekece];[/system scheduler add disabled=no interval=10 name=$macaddressnya on-event= ":local server [/ip hotspot active get [find user=$user] server];[/system script set source=$[:local server server] [find where name=\"$tgl-|-$bln-|-$thn-|-$price-|-$user-|-$ipaddressnya-|-$macaddressnya\"]];[/sys sch re [find where name=$macaddressnya]]" start-date=$date start-time=$time];}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement