Hello, my question is this. I need to count the number of times the highest number is rolled on a roll of several d6 dice, and then add +1 to that result. For example, if we roll 4d6 and the roll is 4,1,2,4 ... the final result would be 5, because the highest result is 4 and it is repeated. Another example, if we roll 5d6 and the roll is 5,4,5,1,5 ... the final result is 6, because the highest result is 5 and it is repeated. The last example, if we roll 4d6 and the roll is 4,3,2,1...the final result would be 4, because the highest result is 4 and is not repeated. what I have currently done is: {{roll = [[{@ {HAB1} d6k1}]]}}, and there I get the highest roll, but I don't know how to make it count if that roll is repeated. Thanks a lot