i want write a scripte that
if ip hostpot ip-binding type = regular and server ="x" or "y"
then change to ip hostpot ip-binding type = regular.
thanx.
:foreach user in=[/ip hotspot ip-binding find server=x] do={ /ip hotspot ip-binding set $user server=all }; :foreach user in=[/ip hotspot ip-binding find server=y] do={ /ip hotspot ip-binding set $user server=all }
/ip hotspot print
:foreach user in=[/ip hotspot ip-binding find server=hs-101] do={ /ip hotspot ip-binding set $user type=regular };
:foreach user in=[/ip hotspot ip-binding find server=101] do={ /ip hotspot ip-binding set $user type=regular };