EG gives some answer when VOX Commando tasks are incomming.

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
Post Reply
soundman33
Posts: 12
Joined: Mon Jul 26, 2010 3:51 pm

EG gives some answer when VOX Commando tasks are incomming.

Post by soundman33 » Wed Oct 06, 2010 10:41 pm

Hi guys,
my idea is that eventghost can give different answers (which are choose per random) when a Vox Commando task comes in.
So bought some Phyton books and tried some coding. But it wouldn´t work cause I think in EG the pyttsx plugin is missing. Is there any possiblity to install, or you guys have a better idea to solve this.

Thats my code (please dont laugh im trying just for some days) :mrgreen:


import random,string,pyttsx

antwort = [("ja"), ("gerne")]

engine = pyttsx.init()
engine.say(random.choice(antwort))

engine.runAndWait()

Post Reply