Thank you for your reply Sinan!
We have added a script already which monitors number of active sessions.
Our concern is how will the user know why he/she is not allowed to login.
Looking out for a way to show some message or redirect user to a url where we can display prefabricated messages.
ok try to do this also on "script on login"
{
#add the total allowed number in the end of the next line
:local no 10
:local act [:len [ip hotspot active find]]
:if ($act >$no) do={
/ip firewall address-list add address=$address list=blocked
}
}
and then add a firewall rule to redirect ips of the list "blocked" to your page you wanna