
I'm trying to add an API button to Roll Templates for spells so that a player can read the spell description, understand what dice need to be rolled and, if they desire, roll those dice by pressing the button (some people prefer to roll the physical dice). Thus, I want a command something like this, which both provided the button if people want it, but also shows those rolling physical dice which dice to roll: [Roll 1d4+4](~[[1d4+4]]) Clearly, that won't work as it stands as ~[[1d4+4]] cannot call an Attribute macro, but is there some way of getting the same functionality without having to create a new API (I'm not a programmer) or a macro for every possible dice roll? There may well be something obvious that I'm missing, but I've searched for it and can't find it. Or is there an API Script someone has created that I could use if I upgraded from Plus to Pro use?