SHOW:
|
|
- or go back to the newest paste.
1 | /ip hotspot user profile | |
2 | add add-mac-cookie=no !mac-cookie-timeout name=1jam-expired-1hari on-login="{\r\ | |
3 | \n:local usernya \$user;\r\ | |
4 | \n:if ([/ip hotspot user find name=\$usernya limit-uptime=1h]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=1h};\r\ | |
5 | \n:if ([/system script find name=\$usernya]=\"\") do={\r\ | |
6 | \n/system script add name=\$usernya source=\"/ip hotspot user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find user=\$usernya]\\r\\n/sys\ | |
7 | tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\ | |
8 | \n}\r\ | |
9 | \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\ | |
10 | \n/system schedule add name=\$usernya interval=1d on-event=\$usernya\r\ | |
11 | \n}\r\ | |
12 | \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" | |
13 | add add-mac-cookie=no !mac-cookie-timeout name=2jam-expired-1hari on-login="{\r\ | |
14 | \n:local usernya \$user;\r\ | |
15 | \n:if ([/ip hotspot user find name=\$usernya limit-uptime=2h]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=2h};\r\ | |
16 | \n:if ([/system script find name=\$usernya]=\"\") do={\r\ | |
17 | \n/system script add name=\$usernya source=\"/ip hotspot user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find user=\$usernya]\\r\\n/sys\ | |
18 | tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\ | |
19 | \n}\r\ | |
20 | \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\ | |
21 | \n/system schedule add name=\$usernya interval=1d on-event=\$usernya\r\ | |
22 | \n}\r\ | |
23 | \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" | |
24 | add add-mac-cookie=no !mac-cookie-timeout name=3jam-expired-1hari on-login="{\r\ | |
25 | \n:local usernya \$user;\r\ | |
26 | \n:if ([/ip hotspot user find name=\$usernya limit-uptime=3h]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=3h};\r\ | |
27 | \n:if ([/system script find name=\$usernya]=\"\") do={\r\ | |
28 | \n/system script add name=\$usernya source=\"/ip hotspot user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find user=\$usernya]\\r\\n/sys\ | |
29 | tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\ | |
30 | \n}\r\ | |
31 | \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\ | |
32 | \n/system schedule add name=\$usernya interval=1d on-event=\$usernya\r\ | |
33 | \n}\r\ | |
34 | \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" | |
35 | add add-mac-cookie=no !mac-cookie-timeout name=6jam-expired-2hari on-login="{\r\ | |
36 | \n:local usernya \$user;\r\ | |
37 | \n:if ([/ip hotspot user find name=\$usernya limit-uptime=6h]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=6h};\r\ | |
38 | \n:if ([/system script find name=\$usernya]=\"\") do={\r\ | |
39 | \n/system script add name=\$usernya source=\"/ip hotspot user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find user=\$usernya]\\r\\n/sys\ | |
40 | tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\ | |
41 | \n}\r\ | |
42 | \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\ | |
43 | \n/system schedule add name=\$usernya interval=2d on-event=\$usernya\r\ | |
44 | \n}\r\ | |
45 | \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" | |
46 | add add-mac-cookie=no !mac-cookie-timeout name=12jam-expired-2hari on-login="{\r\ | |
47 | \n:local usernya \$user;\r\ | |
48 | \n:if ([/ip hotspot user find name=\$usernya limit-uptime=12h]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=12h};\r\ | |
49 | \n:if ([/system script find name=\$usernya]=\"\") do={\r\ | |
50 | \n/system script add name=\$usernya source=\"/ip hotspot user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find user=\$usernya]\\r\\n/sys\ | |
51 | tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\ | |
52 | \n}\r\ | |
53 | \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\ | |
54 | \n/system schedule add name=\$usernya interval=2d on-event=\$usernya\r\ | |
55 | \n}\r\ | |
56 | \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" | |
57 | add add-mac-cookie=no !mac-cookie-timeout name=24jam-expired-2hari on-login="{\r\ | |
58 | \n:local usernya \$user;\r\ | |
59 | \n:if ([/ip hotspot user find name=\$usernya limit-uptime=1d]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=1d};\r\ | |
60 | \n:if ([/system script find name=\$usernya]=\"\") do={\r\ | |
61 | \n/system script add name=\$usernya source=\"/ip hotspot user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find user=\$usernya]\\r\\n/sys\ | |
62 | tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\ | |
63 | \n}\r\ | |
64 | \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\ | |
65 | \n/system schedule add name=\$usernya interval=2d on-event=\$usernya\r\ | |
66 | \n}\r\ | |
67 | \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" | |
68 | add add-mac-cookie=no !mac-cookie-timeout name=1hari-expired on-login="{\r\ | |
69 | \n:local usernya \$user;\r\ | |
70 | \n:if ([/system script find name=\$usernya]=\"\") do={\r\ | |
71 | \n/system script add name=\$usernya source=\"/ip hotspot user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find user=\$usernya]\\r\\n/sys\ | |
72 | tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\ | |
73 | \n}\r\ | |
74 | \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\ | |
75 | \n/system schedule add name=\$usernya interval=1d on-event=\$usernya\r\ | |
76 | \n}\r\ | |
77 | \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" | |
78 | add add-mac-cookie=no !mac-cookie-timeout name=7hari-expired on-login="{\r\ | |
79 | \n:local usernya \$user;\r\ | |
80 | \n:if ([/system script find name=\$usernya]=\"\") do={\r\ | |
81 | \n/system script add name=\$usernya source=\"/ip hotspot user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find user=\$usernya]\\r\\n/sys\ | |
82 | tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\ | |
83 | \n}\r\ | |
84 | \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\ | |
85 | \n/system schedule add name=\$usernya interval=7d on-event=\$usernya\r\ | |
86 | \n}\r\ | |
87 | \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" | |
88 | add add-mac-cookie=no !mac-cookie-timeout name=30hari-expired on-login="{\r\ | |
89 | \n:local usernya \$user;\r\ | |
90 | \n:if ([/system script find name=\$usernya]=\"\") do={\r\ | |
91 | \n/system script add name=\$usernya source=\"/ip hotspot user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find user=\$usernya]\\r\\n/sys\ | |
92 | tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\ | |
93 | \n}\r\ | |
94 | \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\ | |
95 | \n/system schedule add name=\$usernya interval=30d on-event=\$usernya\r\ | |
96 | \n}\r\ | |
97 | \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" | |
98 | add add-mac-cookie=no !mac-cookie-timeout name=tanpa-expired parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" | |
99 | add add-mac-cookie=no !mac-cookie-timeout name=kuota-1GB-expired-1hari on-login="{\r\ | |
100 | \n:local usernya \$user;\r\ | |
101 | \n:if ([/ip hotspot user find name=\$usernya limit-bytes-total=1073741824]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-bytes-total=10737418\ | |
102 | 24};\r\ | |
103 | \n:if ([/system script find name=\$usernya]=\"\") do={\r\ | |
104 | \n/system script add name=\$usernya source=\"/ip hotspot user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find user=\$usernya]\\r\\n/sys\ | |
105 | tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\ | |
106 | \n}\r\ | |
107 | \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\ | |
108 | \n/system schedule add name=\$usernya interval=1d on-event=\$usernya\r\ | |
109 | \n}\r\ | |
110 | \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" | |
111 | add add-mac-cookie=no !mac-cookie-timeout name=kuota-10GB-expired-7hari on-login="{\r\ | |
112 | \n:local usernya \$user;\r\ | |
113 | \n:if ([/ip hotspot user find name=\$usernya limit-bytes-total=10737418240]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-bytes-total=1073741\ | |
114 | 8240};\r\ | |
115 | \n:if ([/system script find name=\$usernya]=\"\") do={\r\ | |
116 | \n/system script add name=\$usernya source=\"/ip hotspot user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find user=\$usernya]\\r\\n/sys\ | |
117 | tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\ | |
118 | \n}\r\ | |
119 | \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\ | |
120 | \n/system schedule add name=\$usernya interval=7d on-event=\$usernya\r\ | |
121 | \n}\r\ | |
122 | \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" | |
123 | add add-mac-cookie=no !mac-cookie-timeout name=kuota-100GB-expired-30hari on-login="{\r\ | |
124 | \n:local usernya \$user;\r\ | |
125 | \n:if ([/ip hotspot user find name=\$usernya limit-bytes-total=107374182400]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-bytes-total=107374\ | |
126 | 182400};\r\ | |
127 | \n:if ([/system script find name=\$usernya]=\"\") do={\r\ | |
128 | \n/system script add name=\$usernya source=\"/ip hotspot user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find user=\$usernya]\\r\\n/sys\ | |
129 | tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\ | |
130 | \n}\r\ | |
131 | \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\ | |
132 | \n/system schedule add name=\$usernya interval=30d on-event=\$usernya\r\ | |
133 | \n}\r\ | |
134 | \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" | |
135 | add add-mac-cookie=no !mac-cookie-timeout name=free parent-queue=02.WIFI queue-type=default rate-limit="128k/128k 0/0 0/0 0/0 8 1k/1k" shared-users=\ | |
136 | 200 | |
137 | add add-mac-cookie=no !mac-cookie-timeout name=4jam-expired-1hari on-login="{\r\ | |
138 | \n:local usernya \$user;\r\ | |
139 | \n:if ([/ip hotspot user find name=\$usernya limit-uptime=4h]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=4h};\r\ | |
140 | \n:if ([/system script find name=\$usernya]=\"\") do={\r\ | |
141 | \n/system script add name=\$usernya source=\"/ip hotspot user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find user=\$usernya]\\r\\n/sys\ | |
142 | tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\ | |
143 | \n}\r\ | |
144 | \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\ | |
145 | \n/system schedule add name=\$usernya interval=1d on-event=\$usernya\r\ | |
146 | \n}\r\ | |
147 | \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" | |
148 | add add-mac-cookie=no !mac-cookie-timeout name=5jam-expired-1hari on-login="{\r\ | |
149 | \n:local usernya \$user;\r\ | |
150 | \n:if ([/ip hotspot user find name=\$usernya limit-uptime=5h]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=5h};\r\ | |
151 | \n:if ([/system script find name=\$usernya]=\"\") do={\r\ | |
152 | \n/system script add name=\$usernya source=\"/ip hotspot user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find user=\$usernya]\\r\\n/sys\ | |
153 | tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\ | |
154 | \n}\r\ | |
155 | \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\ | |
156 | \n/system schedule add name=\$usernya interval=1d on-event=\$usernya\r\ | |
157 | \n}\r\ | |
158 | \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k" |