Speech Recognition+autoposition Actions

 
#1

Hi everyone!
I have made an inmoov head and i want to use autoposition actions under speech recognition for eyes and moving head left and right. For mouth i have allready use a talk servo and it's ok. Farther more i want the head and eyes for some commands move in random positions while ezb speak.

what i have done untill now is this:

ControlCommand("Speech Recognition", PauseOn)
SayEZBWait("bla bla bla.")
ControlCommand("Auto Position", "AutoPositionAction", "Left-Right")
ControlCommand("Speech Recognition", PauseOff)

In this script i want the autoposition loops until the end of the text.

Can you please give me a hand!
Thanks!