
Hey Guys, I'm trying to create a macro that will take a variable integer and perform so many die rolls based on it for the purposes of having a quick macro for firearms damage. For example, one of my PCs has an auto-shotgun. At 50 ft range, it can hit up to 3 times for 4d+4. When over 50ft, it spreads to 27 potential pellets of 1d+1. Between stuff like this and recoil vs success margin to change a very dynamic range of hits, it would be really nice to have a macro for this. I'm hoping to capture something like ?{Shots Hit} and ?{Damage Roll} (or @{character|damage_roll}) and turn it into a sum of multiple rolls. eg: ?{Shots Hit} = 3 ?{Damage Roll} = 4d6+4 Would end up being... /roll {4d6+4, 4d6+4, 4d6+4} Is there a way to iterate over variable input in this manner with macros?