1
Other Plugins / Re: usb uirt
« on: April 18, 2021, 11:42:56 PM »
Hey Thanks James That Worked, Don't Know Why I Didn't Think To Try That..
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.3.0.8-->
<command id="369" name="Tell me a Kids joke" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="60" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>Scrape</cmdType>
<params>
<param>https://www.jokesbykids.com/knock-knock/page/{Rnd.1.100}/</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<if ifBlockDisabled="False" ifNot="False">
<ifType>LastActionSuccess</ifType>
<ifParams>&&</ifParams>
<then>
<action>
<cmdType>PayloadXML.Clear</cmdType>
<params>
<param>payloads\knockjokes.xml</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Tools.Decode.HTML</cmdType>
<params>
<param>{LastResult}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.RegExSingle</cmdType>
<params>
<param><p>.*?/>.*?\>(.*?)<.*?<div\sclass="punch_line">(.*?)</div></param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.MatchToXML</cmdType>
<params>
<param>payloads\knockjokes.xml</param>
<param>True</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.ShowText</cmdType>
<params>
<param>Knock knock ...</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Group.Rebuild</cmdType>
<params>
<param>Knock knock call and answer </param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Group.Enable</cmdType>
<params>
<param>Knock knock call and answer </param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>Okay Knock knock|Sure Knock knock|you bet Knock knock.|Great idea Knock knock.|If you like. Here's a good one Knock knock.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>Sorry i cant right now try later</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</else>
</if>
<phrase>Tell me a kids joke</phrase>
</command>
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.3.5-->
<groupCollection open="False" name="comedy nest2">
<commandGroup open="False" name="Launch yuks2" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="374" name="Tell me a joke" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="60" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>Scrape</cmdType>
<params>
<param>http://www.jokes4us.com/knockknockjokes/dirtyknockknockjokes.html</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<if ifBlockDisabled="False" ifNot="False">
<ifType>LastActionSuccess</ifType>
<ifParams>&&</ifParams>
<then>
<action>
<cmdType>PayloadXML.Clear</cmdType>
<params>
<param>payloads\knockjokes3.xml</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Tools.Decode.HTML</cmdType>
<params>
<param>{LastResult}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.RegExReplace</cmdType>
<params>
<param>\n<br></param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>RegExTool.Open</cmdType>
<params />
<cmdRepeat>0</cmdRepeat>
</action>
<action>
<cmdType>Results.RegEx</cmdType>
<params>
<param><br>\n.*?\n(.*?)<br>\n.*?\n(.*?)<br></param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.MatchToXML</cmdType>
<params>
<param>payloads\knockjokes3.xml</param>
<param>True</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.ShowText</cmdType>
<params>
<param>Knock knock ...</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Group.Rebuild</cmdType>
<params>
<param>Knock knock call and answer 3</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Group.Enable</cmdType>
<params>
<param>Knock knock call and answer 3</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>Okay Knock knock|Sure Knock knock|you bet Knock knock.|Great idea Knock knock.|If you like. Here's a good one Knock knock.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>Sorry i cant right now try later</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</else>
</if>
<phrase>Tell me a,Tell me another, I changed my mind</phrase>
<phrase optional="true">joke</phrase>
</command>
<command id="102" name="confirmation phrases" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>VC.ConfirmYes</cmdType>
<params />
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>Yes please, Okay, Sounds good</phrase>
</command>
</commandGroup>
<commandGroup open="True" name="Knock knock call and answer 3" enabled="False" prefix="" priority="0" requiredProcess="" description="">
<command id="309" name="Who's there?" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="60" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>PayloadXML.GetRandomP</cmdType>
<params>
<param>payloads\knockjokes.xml</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>{Match.1}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.AddText</cmdType>
<params>
<param>{Match.1}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>Who's there, Who is there</phrase>
</command>
<command id="307" name="{1} who?" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>TTS.SpeakSync</cmdType>
<params>
<param>{1}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.ShowText</cmdType>
<params>
<param>{1}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.Pause</cmdType>
<params>
<param>3000</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>That was hilarious. Do you want to hear another one?|Kids today are such comedians. How about another?|A barrel of laughs that was. Want to hear another?| Would you like to hear another joke?</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.TriggerEvent</cmdType>
<params>
<param>more jokes confirmation</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloads\knockjokes3.xml</payloadFromXML>
<phrase>who</phrase>
</command>
<command id="337" name="more jokes confirmation" enabled="true" alwaysOn="False" confirm="True" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>VC.TellVox</cmdType>
<params>
<param>Tell me a joke</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<event>more jokes confirmation</event>
</command>
<command id="393" name="Disable group on no confirm" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>TTS.SpeakSync</cmdType>
<params>
<param>No problem.|OK|That's fine.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>Let me know if you change your mind.|But remember that this comedy club is always open.|I'm here when you're ready for more yuks.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Group.Disable</cmdType>
<params>
<param>Knock knock call and answer 2</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<event>Confirm.Cancel.more jokes confirmation</event>
</command>
</commandGroup>
</groupCollection>
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.3.5-->
<command id="270" name="Knock Knock Joke" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>Scrape</cmdType>
<params>
<param>https://www.jokesbykids.com/knock-knock/</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.Replace</cmdType>
<params>
<param><br</param>
<param><![CDATA[ ]]></param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.RegExReplace</cmdType>
<params>
<param>\d</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.RegExReplace</cmdType>
<params>
<param>&</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.RegExReplace</cmdType>
<params>
<param>#</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.RegExReplace</cmdType>
<params>
<param>;</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.RegEx</cmdType>
<params>
<param><p>(.*?)/>.*?/>(.*?)/>.*?<div\sclass="punch_line">(.*?)</div></div></param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>{Match.1.1}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.Pause</cmdType>
<params>
<param>3000</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>{Match.1.2}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.Pause</cmdType>
<params>
<param>3000</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>{Match.1.3}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>New Joke Please</phrase>
</command>