Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /ip hotspot user profile
- add add-mac-cookie=no !mac-cookie-timeout name=1jam-expired-1hari on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-uptime=1h]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=1h};\r\
- \n:if ([/system script find name=\$usernya]=\"\") do={\r\
- \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\
- tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=1d on-event=\$usernya\r\
- \n}\r\
- \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k"
- add add-mac-cookie=no !mac-cookie-timeout name=2jam-expired-1hari on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-uptime=2h]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=2h};\r\
- \n:if ([/system script find name=\$usernya]=\"\") do={\r\
- \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\
- tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=1d on-event=\$usernya\r\
- \n}\r\
- \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k"
- add add-mac-cookie=no !mac-cookie-timeout name=3jam-expired-1hari on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-uptime=3h]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=3h};\r\
- \n:if ([/system script find name=\$usernya]=\"\") do={\r\
- \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\
- tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=1d on-event=\$usernya\r\
- \n}\r\
- \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k"
- add add-mac-cookie=no !mac-cookie-timeout name=6jam-expired-2hari on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-uptime=6h]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=6h};\r\
- \n:if ([/system script find name=\$usernya]=\"\") do={\r\
- \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\
- tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=2d on-event=\$usernya\r\
- \n}\r\
- \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k"
- add add-mac-cookie=no !mac-cookie-timeout name=12jam-expired-2hari on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-uptime=12h]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=12h};\r\
- \n:if ([/system script find name=\$usernya]=\"\") do={\r\
- \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\
- tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=2d on-event=\$usernya\r\
- \n}\r\
- \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k"
- add add-mac-cookie=no !mac-cookie-timeout name=24jam-expired-2hari on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-uptime=1d]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=1d};\r\
- \n:if ([/system script find name=\$usernya]=\"\") do={\r\
- \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\
- tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=2d on-event=\$usernya\r\
- \n}\r\
- \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k"
- add add-mac-cookie=no !mac-cookie-timeout name=1hari-expired on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/system script find name=\$usernya]=\"\") do={\r\
- \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\
- tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=1d on-event=\$usernya\r\
- \n}\r\
- \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k"
- add add-mac-cookie=no !mac-cookie-timeout name=7hari-expired on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/system script find name=\$usernya]=\"\") do={\r\
- \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\
- tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=7d on-event=\$usernya\r\
- \n}\r\
- \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k"
- add add-mac-cookie=no !mac-cookie-timeout name=30hari-expired on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/system script find name=\$usernya]=\"\") do={\r\
- \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\
- tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=30d on-event=\$usernya\r\
- \n}\r\
- \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k"
- 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"
- add add-mac-cookie=no !mac-cookie-timeout name=kuota-1GB-expired-1hari on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-bytes-total=1073741824]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-bytes-total=10737418\
- 24};\r\
- \n:if ([/system script find name=\$usernya]=\"\") do={\r\
- \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\
- tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=1d on-event=\$usernya\r\
- \n}\r\
- \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k"
- add add-mac-cookie=no !mac-cookie-timeout name=kuota-10GB-expired-7hari on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-bytes-total=10737418240]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-bytes-total=1073741\
- 8240};\r\
- \n:if ([/system script find name=\$usernya]=\"\") do={\r\
- \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\
- tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=7d on-event=\$usernya\r\
- \n}\r\
- \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k"
- add add-mac-cookie=no !mac-cookie-timeout name=kuota-100GB-expired-30hari on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-bytes-total=107374182400]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-bytes-total=107374\
- 182400};\r\
- \n:if ([/system script find name=\$usernya]=\"\") do={\r\
- \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\
- tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=30d on-event=\$usernya\r\
- \n}\r\
- \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k"
- 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=\
- 200
- add add-mac-cookie=no !mac-cookie-timeout name=4jam-expired-1hari on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-uptime=4h]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=4h};\r\
- \n:if ([/system script find name=\$usernya]=\"\") do={\r\
- \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\
- tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=1d on-event=\$usernya\r\
- \n}\r\
- \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k"
- add add-mac-cookie=no !mac-cookie-timeout name=5jam-expired-1hari on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-uptime=5h]=\"\") do={/ip hotspot user set [find name=\$usernya] limit-uptime=5h};\r\
- \n:if ([/system script find name=\$usernya]=\"\") do={\r\
- \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\
- tem script remove [find name=\$usernya]\\r\\n/system schedule remove [find name=\$usernya] \"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=1d on-event=\$usernya\r\
- \n}\r\
- \n}" parent-queue=02.WIFI queue-type=default rate-limit="256k/2M 0/0 0/0 0/0 8 1k/1k"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement