Script to Auto change to select better Signal APs...

Good day..

Dear All..
I just get involved on Mikrotik in half years time…

Just wonder know, What’s the language we can use to write the script for the Mikrotik RouterOS…

I am looking a method, the idea is, the Bridge (wds-station) will have 2 different SSID, when it’s detect the 1st SSID AP no valid or signal weak than the 2nd SSID (Different character or id) AP, it will switch over to the 2nd SSID AP.