It is very difficult to imagine what exactly you have in mind, but you may want to open the VA Help Manual (press F1 when you have VoiceAttack in focus) and review the Quick Input section.
Not sure how you intend to call a command such as this, but for a rudimentary example, I have used the phrase "Fire Salvo" and the action to press the "?" key, wait a second (for the input field to appear) and then type out ".salvo 2", wait a moment, and press the "Enter" key.
I do not have this game, and I am not familiar with how it works at all.... this is merely an example to get you moving forward and thinking in step-by-step actions.
For more advanced functionality, you should consider reading up on logic and flow control in the following post:
"Control flow (If, Else, ElseIf, Loop, Jump) basics"
https://forum.voiceattack.com/smf/index.php?topic=732.0