Same as the previous example (in case of the first one), but you can right-click the loop action and choose "Edit With Condition Builder" to add the other keys using the "Add Condition (And)" button (one for each key).
If you want to create the command from scratch instead, you can also choose "Compound Condition Builder (While Loop)" instead of "Single Condition (While Loop)" when adding the loop action.
For more information on VoiceAttack's actions and other possibilities, press F1 while VoiceAttack has focus to open VoiceAttackHelp.pdf in your default PDF viewer.