I am trying to figure out a way to reference the dice I roll for a game I'm in. It's not a special module or anything, it's just basic tiles, images, and rolls. What I am currently using: Our system rolls three D20 and we use the median of the three. This following line works because graphically, it shows three dice being rolled, and in the chat dialogue, it shows the results of each three dice (including modifiers). It indicates rolls of 1 in red, and rolls of 20 in green. It does not show the sum because that is not relevant. [[1d20 + ?{Bonus1}]],[[1d20 + ?{Bonus1}]],[[1d20 + ?{Bonus1}]] ?{Reason} What I would like to do: Highlight blue (I understand this is the third optional colour) the median dice. I understand it is possible that it could also be a 1 or a 20, as duplicate rolls are possible. Thoughts: I believe that I would need to make each of these three rolls in a type of 'back end', calculate each result into a variable, (hey, sorting them would be cool and useful but not required), and after deciding the median, display the three outputs similar to how the original output is processed. That's kind of the pseudocode going through my head, but I am completely new to anything scripty in Roll20, and so I come to here for help. :) Thank you for any help about this, I hope it's a fun challenge if possible, and not too much labour of an ask! Tim S.