Mikrotik Voltage Alarm/Beeper

I recently needed to make my routerboard generate an audible alarm based on voltage thresholds on the 12v battery wired directly to the RB2011. This script was a modification of something i found when perusing the Mikrotik forums. Change lowvoltage and highvoltage to suite your requirements. #set lowvoltalarm to desired alarm voltage in tenths of