In order to do this, you would either need to hook your whole system on your computer to tell when the score it beaten, or *write a script and recompile it right into mame so it executes some other file, such as ring.exe*
Thats the only way I can think of it, modify the source, make ring.exe set off your lights, and when MAME detects a high score, you can send it out.