i want the user to connect to hotspot and ppp
but idont want hime to access both at the same time
foreach i in=[/ip hotspot active find] do={
foreach u in=[/ppp active find] do={
:if (([:len [/ip hotspot active get /$i user]] = [:len [/ppp active get /$u name]] do={
/ip hotspot active remove find $i
}
}
}