I have searched high and low, and i cant find clear directions on how to chose what option in a command segment is used when calling it from another command.
Here is the scenario:
I want to call the command "XYZ [1;2;3]" from another command. but i want to select option 2.
Based on the following info, I assume that i have to select
Other > VoiceAttack Action > Execute Another Command and then select
Execute by name and then
Type in exactly what i would say to activate the correct IF statement in the command.
VoiceAttackHelp.pdf page 38
'Execute Another Command'
...
Note – If you are trying to execute a multipart/dynamic command by name, you must pick one of the commands that will be used (for instance, if you have a multipart command labeled, 'test;test [all;something]', you can just put, 'test' in the box.
...
VoiceAttackHelp.pdf page 138
{CMDSEGMENT:segment} – If your command contains, ‘dynamic command sections’
(see, ‘Dynamic Command Sections’ in the, ‘Command Screen’ documentation above), you
can retrieve specific portions of the spoken command, indicated by its numeric position.
This will allow you to make more precise decisions based on what was spoken.
For instance, let’s say you have a complex dynamic command that you use to build several
kinds of items like this:
‘build [1..10][bulldogs;wolves;strikers][please;]’
Then, you say, ‘build 5 bulldogs’ to execute that command. To find out what was built, you
can check {CMDSEGMENT:2} (note that the specified, ‘segment’ is zero-based. So, the
first segment is 0. The second is 1, and so on). The rendered value will be, ‘bulldogs’.
Then, you can find out how many items to build by checking {CMDSEGMENT:1}. The
rendered value will be, ‘5’ (which you can convert and use in a loop, for instance). For
bonus points, you can check {CMDSEGMENT:3} and see if, ‘please’ was spoken and then
thank the user for being so polite (or chide them if they didn’t say, ‘please’)
On page 38 of the help PDF, in that same note as quoted above, could be additional information that if there are multiple choices in a command segment, that typing it out with that preferred choice will pass it on to any part of the command that uses it.
So in my example above, Using "Execute by name" and typing "XYZ 2" (without the "" of course) would activate any conditional line in the command that used option "2".