Script 2

From XAP Automation
Jump to: navigation, search

This is called when the timer expires after 10 seconds.

Sub Main()
' Delete timer
	DeleteTimer ("Kitchen1Toggle")
' Set Status flag to Reset
    	SetGlobal "KitchenLight1State", 0
End Sub

Short and sweet!