For GURPS, I'm wanting to make a macro that will handle everything about an attack. I'm able to make a formula that can calculate the number of hits (like with an automatic weapon), but I want to calculate damage as well without requiring any math on the player's part. Let's say I fire an automatic weapon and land 3 hits, and each hit does 2d6 - 2 damage. I could simply do 3 * (2d6 + 2), but this would result in very "swingy" damage numbers because I'm only rolling two dice. What I want is to roll 2d6 - 2 three times, or roll 6 dice altogether and add 6 so I'd get more of a bell curve. How would I go about this? How do I roll something a variable number of times?