 
 Hello!   First time posting here :)  In short, as the title says, I'm trying to find a way to use the API to output the degree of success against the rolled value on a d20.   The system I'm using has the following success table:      1 = Critical Failure  2-5 = Failure  6-7 = Partial Success  8-14 = Success  15-19 = Impressive Success  20 = Critical success   Parital Success and Impressive Success have extra effects, as do the Criticals on either end.     Over the past few days I've looked around a few forums and reddit posts and found a solution using macros and rollable tables from around 5 years ago (I'm not sure if linking to other forums is ok so for now I'll omit the link). The one who posted that solution mentioned that using the API would be easier than the effective but space inefficient way that they proposed. The solution was to use this macro:   &{template:default} {{[[ 1t[[[1d20]]RollResult] ]]}} [[?{modifier|0}]] {{Base Roll $[[0]]}} {{Total Roll $[[0]]+$[[2]] }}  Then have the result roll one of 20 tables named "X"RollResult which contained a single item being the degree of success appropriate to the value rolled. I did want d20+modifer = Total Roll, but the $[[X]] method doesn't see those inputs as values and thus couldn't be used for arithmatic.  As of this point in the campaign, a Failure and Partial Success can be improved up to a Success if your modifier (Currently can be a max of +8, or -8 for a character who is rolling with a natural 1 being a crit success) would change the total to be between 8-14. Later in the campaign rolls will be able to become Impressive Successes too. If that functionallity along with the descriptions of what happens with the extra effects as mentioned earlier could be added that'd be great. However, this part is optional, I have no experience with the API so if it introduces a lot of complexity I'm happy to forgo it.   The main thing I'm aiming for is just the base roll of the d20, the total value of the roll with modifiers shown and the degree of success as that'd help streamline the most core aspects.  Thanks for reading!  Frey         
