Script 2

From XAP Automation
Revision as of 09:54, 30 August 2006 by Lehane (Talk | contribs)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
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!