Dear friends
I need script for this case:
30 user on hotspot(mikrotik version 2.9.27)
7 user should have access to internet from 8 am to 8 pm
6 user should have access to internet from 8 pm to 11 pm
5 user should have access to internet from 11 pm to 11 am
12 user(the rest) have a 24 h access to internet
the script should work in a scheduler for all users at certain times and after disable the specified user should find the block user if active and remove it from the active user list.
I have used a script,but it work for one user at a time
/ip hotspot user disable NAME
/ip hotspot active remove [find user=NAME]
but I need only one script for each group also if there is a better way to do these actions I would be appreciated.