or simply add this in the hotspot user profile
script on log-out
{
:if ($cause=“traffic limit reached”) do={
/ip hotspot user remove [find name=“$user”]
}
much simpler !!
I have a hotspot but I have problems with the XX user.
I have created a XX user and in the limit uptime I have 30 minutes, and in a shared user I have 25, everything works fine during the 30 minutes, any user can connect, but it complies with the 30 minutes of the limit uptime and no longer connects any user, only the message “USER XX HAS REACHED UPTIME LIMIT”, some idea of how to solve this problem, the idea is that if the XX user has already run out of time and no longer connect, but he does not use yet I can do it.