sorry, wrong link. I can't seem to find it anymore though.
Just make a script with something like:
_unit = _this select 0
#LightOff
_unit action ["Light Off",_unit]
goto "LightOff"
that kills your performance though
If you try to add a time delay, then the lights strobe, and it doesn't work.
(Maccy, it was in the "The Time For Action Has Come" thread
)