help

hi all
what wrong in this script plz?

:if ([/interface wireless scan wlan2 find ssid=Adil]) do={/ip proxy access enable [/ip proxy access find comment=1]
}

paste it into the Terminal - and you will see what’s wrong

/interface wireless scan wlan2 find ssid=Adil

You are trying to run two commands (scan and find) in a row. Scripting does not allow that.

Currently you can’t do anything with data returned from scan command.