<?xml version="1.0" encoding="utf-8"?>
<!--C:\voxcommando\export\VcGrp_ tellstick.xml-->
<VoiceCommands version="">
    <!--this is an exported VoxCommando group-->
    <commandGroup open="True" name=" tellstick" enabled="True" prefix="" priority="0" requiredProcess="" description="">
        <command id="1399" name="Discrete" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>OSD.ShowText</cmdType>
                <cmdString>{1} {2} {3} &amp;&amp;1000</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>Launch.Hidden</cmdType>
                <cmdString>C:\Program Files\Telldus\tdtool.exe&amp;&amp;--{3}  "{1} {2}"</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>map.set</cmdType>
                <cmdString>switchstate&amp;&amp;{1}{2}&amp;&amp;{3}</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <phrase>turn</phrase>
            <payloadList>lounge,bedroom,spareroom</payloadList>
            <payloadList>light,lamp,lamps</payloadList>
            <payloadList>on,off</payloadList>
            <event>tell.lights</event>
        </command>
        <command id="1417" name="Toggle" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>Map.Get</cmdType>
                <cmdString>switchstate&amp;&amp;{1}{2}</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <if ifBlockDisabled="False" ifNot="True">
                <ifType>LastActionSuccess</ifType>
                <ifParams>&amp;&amp;</ifParams>
                <then>
                    <action>
                        <cmdType>Map.CreateTable</cmdType>
                        <cmdString>switchstate</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>Map.Set</cmdType>
                        <cmdString>switchstate&amp;&amp;{1}{2}&amp;&amp;off</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>Map.Get</cmdType>
                        <cmdString>switchstate&amp;&amp;{1}{2}</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else />
            </if>
            <action>
                <cmdType>TTS.Speak</cmdType>
                <cmdString>turning</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <if ifBlockDisabled="False" ifNot="False">
                <ifType>(A)Contains(B)</ifType>
                <ifParams>{LastResult}&amp;&amp;off</ifParams>
                <then>
                    <action>
                        <cmdType>TTS.Speak</cmdType>
                        <cmdString>on</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>Launch.Hidden</cmdType>
                        <cmdString>C:\Program Files\Telldus\tdtool.exe&amp;&amp;--on "{1} {2}"</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>Map.Set</cmdType>
                        <cmdString>switchstate&amp;&amp;{1}{2}&amp;&amp;on</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else>
                    <action>
                        <cmdType>TTS.Speak</cmdType>
                        <cmdString>off</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>Launch.Hidden</cmdType>
                        <cmdString>C:\Program Files\Telldus\tdtool.exe&amp;&amp;--off "{1} {2}"</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>Map.Set</cmdType>
                        <cmdString>switchstate&amp;&amp;{1}{2}&amp;&amp;off</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </else>
            </if>
            <payloadList>lounge,bedroom,spareroom</payloadList>
            <payloadList>light,lamp,lamps</payloadList>
            <phrase>please</phrase>
        </command>
    </commandGroup>
</VoiceCommands>