Advertisement
kiedtink

user online hotspot

Mar 24th, 2021
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. 1.buat file online.js (kosongin saja isinya) - > taruh di folder hotspot/disini
  2. 2.taruh script ini di login.html atau html yg lain bebas dimana saja
  3. <script src="online.js"></script>
  4. 3.taruh di system->scripts
  5. nama scripts= useronline
  6. /ip hotspot active
  7. :global usr;
  8. :set usr ([print from=[/ip hotspot active find radius=no] count-only])
  9. /file set hotspot/online.js contents="document.write('<b>$usr</b> USER')"
  10. 4.taruh script ini di ip->hotspot->userprofil
  11. Masukkan script ini di onlogin dan onLogout setiap profile.
  12. /system script run useronline
  13. 5.taraaaaaa.....,
  14. Cat: contoh diatas jika login page difolder hotspot/disini atau sesuaikan dengan folder masing".dan jika folder di flash/hotspot/dsini
  15. Maka script di sistem tinggal tambahin kata "flash"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement