It depends on how universal you want the macro to be? You could have queries that prompt for the number of dice (complete with specific choices to limit options), type of dice AND bonus/type of bonus... it could be quite arduous to account for every eventuality in a single macro though. Here is an example/starter: !?{Number of dice|1|2|3|4|5|6|7|8|9|10} ?{Type of dice|4|6|8|10|12|20} ?{Bonus|Flat,?{Flat bonus|0}|Level based,?{Capped|No,@{class1_level}|Yes,{@{class1_level},?{Level cap|0}}kl1}} [[ ?{Number of dice}d?{Type of dice} + ?{Bonus} ]] Side note: I've used the ! prefix trick to order and store the query values to make the actual macro itself easier to read and understand, the queries will gather your answers and insert them into the main macro. You could expand it further by added level options into the number of dice as well but as a proof of concept I haven't the time... also this is largely untested although morbid curiosity may force me to create a pf1e game to test it on!