OK I did some extensive testing, and the result has me completely confused. So here is the jist. I have created a test profile attached to this post. If you install EDDI:
https://github.com/cmdrmcdonald/EliteDangerousDataProvider/releases/tag/2.2.1 this is very easy to replicate and test. Eddi is a very simple install, in fact it auto finds the voice attack app directory in the installer.
OK so here are the brass tacks:
In the profile I provided, if you run the command "This will work" the command will execute these actions:
Say, 'Voice attack text-to-speech [with a' or ' conditional]'
Set Text [Script] to 'Eddi text to speech'
Execute external plugin, 'EDDI 2.2.1'
Stop VoiceAttack listening
Write '[Blue] I got here!' to log
That works fine. You get a bit of a jumble as the voice attack TTS and the eddi TTS talk over each other but its for testing purposes so who cares. They each say their piece and then listening stops.
However if you then run this command "This will not work", it runs these actions
Say, '[I'm sorry' or ' apologies' or ' my apologies' or ' sorry] [commander' or '] but [I did not understand' or ' I didn't understand' or ' I did not recognize' or ' I do not know' or ' I don't know] that [spoken' or '] [phrase' or ' command' or ' order' or ' directive' or ' request]'
Set Text [Script] to 'Testing the stop commander'
Execute external plugin, 'EDDI 2.2.1'
Stop VoiceAttack listening
Please note, the actions are the same, only the text value of the speech differ. Note that when THIS action is called neither TTS respond, and VA never stops listening. Furthermore trying to call "This will work" fails after this command has been invoked. Even more to the point any command that now has a voice attack text-to-speech action will fail to run any action that occurs after the text-to-speech action.
One more thing, this all assumes you have Single TTS Instance checked under system/advanced. If you do not, follow these steps to get Voice Attack to crash entirely (It actually just freezes forever, no crash prompt, but you cannot do anything and it won't accept any more commands). Assuming you've restart the program, and you have unchecked "Single TTS instance" if you run the "This will not work" command, and then click the "Stop Commands" button Voice Attack will freeze completely, you'll have to kill the process. Please note this does not happen when you use the "This will work" command.
I hope this is as thorough as any of you will need to help track down why this is behaving the way it is.