Try this script (it should be inserted around line 923 if you are using the XTF brain V1.2, and have not made any other modifications to the brain. Use the brain editor) Also, download the HalCmdResponses.brn from the thread I mentioned before and place it in the defbrain directory :
If InStr(1, UserSentence, " TURN ON LIGHT 1 ", 1) > 0 Or InStr(1, Usersentence, " TURN ON LIGHT ONE ",1)> 0 Then
BlockSave = True
GetResponse = HalBrain.ChooseSentenceFromFile(WorkingDir & "HalCmdResponses.brn")
GetResponseBlock = True
Set GirderEvent = CreateObject("Girder.GirderEvent")
GirderEvent.Device = 18
GirderEvent.EventString = "Light_Event_1"
GirderEvent.Payload(1) = payload
GirderEvent.Send()
End If
You can change the line
GirderEvent.EventString = "Light_Event_1"
to any event name you'd like to, using the Girder event command name method that we used to name your light__event_1 command.
You can also change the line
If InStr(1, UserSentence, " TURN ON LIGHT 1 ", 1) > 0 Or InStr(1, Usersentence, " TURN ON LIGHT ONE ",1)> 0 Then
to recognize whatever string you want, but always keep in mind that spacing is important, including leading and end spaces, as VonSmith explained to me.
Let me know how it turns out...