<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        The variable you specify in the listen module will always be the same regardless of the phrase that is detected. So, if you specify &quot;my_phrase&quot; in the Listen module as the variable (seen in the docs as spoken_text) then anything the module detects will be the value of that variable. So in your case you would use&lt;br&gt;&lt;br&gt;myStr = rr.getVariable(&quot;my_phrase&quot;)&lt;br&gt;&lt;br&gt;and then test myStr for &lt;br&gt;&lt;br&gt;if myStr = &quot;Turn off&quot; then etc.&lt;br&gt;&lt;br&gt;Note that the phrase spoken is NOT a variable but in fact the value of a variable that always remains the same.&lt;br&gt;&lt;br&gt;Note that the above syntax is not for a specific language as you did not indicate what language you are using.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3667</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3667</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Use voice commands to control roborealm</title>
        <description>
        I am trying to use voice commands to control RoboRealm with the API program. For example, if the user of my project says &quot;Turn Off&quot; I want roborealm to close. I know that I can close Roborealm by using rr.close(), but I cannot get the voice commands.&lt;br&gt;&lt;br&gt;I have created variables with the Listen module and I am trying to use the getVariable function to get those variables for the voice commands. How do I go about using the variables in an if statement?&lt;br&gt;&lt;br&gt;For example if I use getVariable(&quot;turn off&quot;), then how do I declare it to be able to say IF turnoff = &quot;Turn off&quot;.&amp;nbsp;&amp;nbsp;How do I check to see that the user actually said &quot;turn off&quot;?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3667</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3667</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
