Hi Phil,
here is a listen command with a bit more human touch. With this command VC will give you diffrent answers, depends on how you ask for listen. Example: If you say "good morning computer", VC responds with "good morning Phil, I hope you slept well" or when you say "good evening computer" it responds with "good evening Phil ...".
This command use a "optional" payloadList at first, so it is not necessary to use "good morning, ..." if you want to trigger the command. If you use only "listen", "pay attention" or "computer" ..., VC switch to ON-Mode without any response.
<?xml version="1.0" encoding="utf-16"?>
<command id="160" name="Listen" enabled="true" alwaysOn="True" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)==(B)</ifType>
<ifParams>{1}&&good morning</ifParams>
<then>
<action>
<cmdType>TTS.SpeakSync</cmdType>
<cmdString>{1} Phil, I hope you slept well.</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else />
</if>
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)==(B)</ifType>
<ifParams>{1}&&good evening</ifParams>
<then>
<action>
<cmdType>TTS.SpeakSync</cmdType>
<cmdString>{1} Sir, nice to hear you. | {1}, nice to meet you.</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else />
</if>
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)==(B)</ifType>
<ifParams>{1}&&good afternoon</ifParams>
<then>
<action>
<cmdType>TTS.SpeakSync</cmdType>
<cmdString>{1} Sir, nice to hear you. | {1}, nice to meet you.</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else />
</if>
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)Contains(B)</ifType>
<ifParams>hi-hello&&{1}</ifParams>
<then>
<action>
<cmdType>TTS.SpeakSync</cmdType>
<cmdString>{1} Phil, nice to hear you. | {1} Phil, nice to meet you.</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else />
</if>
<action>
<cmdType>VC.On</cmdType>
<cmdString />
<cmdRepeat>1</cmdRepeat>
</action>
<payloadList optional="true">good morning, good afternoon, good evening, hi, hello</payloadList>
<phrase>start listening, pay attention, listen, computer</phrase>
</command>
have fun
Kalle