<?xml version="1.0" encoding="utf-8"?>
<!--L:\Users\BrandtsW7\Downloads\VC921Basic\export\VcGrp_XBMC set volume with confirm and logic TTS.xml-->
<VoiceCommands version="0.938">
    <commandGroup name="XBMC set volume with confirm and logic TTS" enabled="True">
        <command id="326" name="set volume" enabled="true" alwaysOn="False" confirm="True" requiredConfidence="0" loop="False" loopDelay="" loopMax="" description="">
            <action>
                <cmdType>XBMC.Send</cmdType>
                <cmdString>setvolume({1})</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>XBMC.SoftMute</cmdType>
                <cmdString>30</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <if ifBlockDisabled="False" ifNot="False">
                <ifType>(A)Contains(B)</ifType>
                <ifParams>(10-20-30-40-50-60-70-80)&amp;&amp;{1}</ifParams>
                <then>
                    <action>
                        <cmdType>TTS.SpeakSync</cmdType>
                        <cmdString>volume adjusted to {1} percent</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else>
                    <action>
                        <cmdType>TTS.SpeakSync</cmdType>
                        <cmdString>volume adjusted to {1} percent, take care of your neighbors!</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </else>
            </if>
            <action>
                <cmdType>XBMC.SoftUnMute</cmdType>
                <cmdString />
                <cmdRepeat>1</cmdRepeat>
            </action>
            <phrase>set volume</phrase>
            <payloadList>5,10,15,20,30,40,50,60,70,80,90,100</payloadList>
        </command>
        <command id="354" name="confim XBMC volume" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>TTS.SetVoiceName</cmdType>
                <cmdString>VW Paul</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>TTS.Speak</cmdType>
                <cmdString>{LastSpoken}, are you sure?</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <event>confirm.set volume</event>
        </command>
    </commandGroup>
</VoiceCommands>