Announcement

Collapse
No announcement yet.

Double Talk

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • brandnewbie
    replied
    Got It

    Thanks Blade for the reply! I got home today and just deleted the device and added it again. Everything is working as it should now! As always, thanks so much!

    Leave a comment:


  • Blade
    replied
    That looks correct
    Put a hs.writelog in there to print out what is returned

    Leave a comment:


  • brandnewbie
    started a topic Double Talk

    Double Talk

    Hello!

    I upgraded to HS3 finally and am working to create new events. I downloaded and installed BLRandom and was setting it up like HS2. After taking time to read, I saw that there is a different syntax so I copied and called myself editing the code. I get the script to work, but it actually pulls 2 phrases at a time when an event trigger happens! I know it's something simple, but can you please see what I'm missing? How should the code actually look like? Here is what I currently have:

    Code:
    Sub Main(byval param As Object)
    
    	Dim message As String = hs.PluginFunction("BLRandom", "", "RandomizeGroup", new Object(){"Front Door Responses"})
    	hs.Speak(message, True)
    	message = Nothing
    
    End Sub
Working...
X