1
Programming using the Ultra Hal Brain Editor / Ultra Hal & Mister House
« on: June 05, 2010, 11:42:52 pm »
Does anyone have any idea if this code (from another post)
If UserSentence = "Turn on the TV" Then
BlockSave = True
GetResponse = "I'm turning on the TV boss."
GetResponseBlock = True
Set GirderEvent = CreateObject("Girder.GirderEvent")
GirderEvent.Device = 18
GirderEvent.EventString = "TV_ON"
GirderEvent.Payload(1) = payload
GirderEvent.Send()
End If
can be easily modified to work with MisterHouse?
Thanks!
If UserSentence = "Turn on the TV" Then
BlockSave = True
GetResponse = "I'm turning on the TV boss."
GetResponseBlock = True
Set GirderEvent = CreateObject("Girder.GirderEvent")
GirderEvent.Device = 18
GirderEvent.EventString = "TV_ON"
GirderEvent.Payload(1) = payload
GirderEvent.Send()
End If
can be easily modified to work with MisterHouse?
Thanks!