The attached script works without errors, but the required work of deleting variables is not being done. Do you have a solution to this problem?
:foreach host in=[/ip hotspot host find where bridge-port="wlan1"] do={
:local hostIP [/ip hotspot host get $host address];
/queue simple remove [find where target=$hostIP];
}
/code]