Blink LED Wifi Alignment Script

This script won’t work in 3.11, can anyone suggest a fix?

:global if-snr [ /interface wireless registration-table get [/interface wireless registration-table find] signal-to-noise ]
:if (($if-snr > 0) && ($if-snr <= 15 )) do={/blink duration=250ms}
:if (($if-snr > 15) && ($if-snr <= 25 )) do={/blink duration=500ms}
:if (($if-snr > 25) && ($if-snr <= 35 )) do={/blink duration=750ms}
:if ($if-snr >35 ) do={/blink duration=1s}

Thanks

Got it…Have to put if-snr in quotes, “if-snr”

Thanks

is pisible reemplece the blibk for the sound internal speaker???

you can do it without any scripts. just use the align mode in wireless menu.
http://www.mikrotik.com/testdocs/ros/3.0/interface/wireless_content.php#.12