Alternately relays TurnOn and TurnOff when it receives TurnOn. The trap control flags and delay time have no meaning for this script.