
I'm fairly new to Roll20. We're setting up a Pathfinder game and have started to fill character sheets, and I also started dabbling with macros to add to the quick bar. Using the example I found in the Pathfinder-specific wiki page, I made single macros that prompt for the choice of which skill checks to roll, and same for saving throws. They work fine, but I can't seem to set up similar macros for attacks Here is the code for saving throw macro: &{template:pf_generic} {{character_name=@{selected|character_name}}} {{name=Saves}} {{?{Saves| Fort, Fort= [[ 1d20+ [[ @{selected|fort} ]] ]] | Ref, Ref= [[ 1d20+ [[ @{selected|ref} ]] ]] | Will, Will= [[ 1d20+ [[ @{selected|will} ]] ]]}}} Now, to do the same for the attacks entered in the character sheet, I tried using: &{template:pf_generic} {{character_name=@{selected|character_name}}}
{{name=Attacks}} {{?{Attacks| Atk0, Atk0 = [[
@{selected|repeating_weapon_0_Attack} ]] | Atk1, Atk1 = [[ @{selected|repeating_weapon_1_Attack} ]]}}} But that kind of syntax doesn't work. What should I use? Optional: instead of adding every single attack to the macro, isn't there a way to take the full list of attacks automatically, with their names displayed in the prompt?