I'm working on a custom TTRPG and I'm trying to code in skill rolls for my game, doing so is a roll of a D6 equal to the amount of the stat with successes being 4 and higher. I was able to show the amount of successes using this script of code: ( [[{{1d6}>3}+{{1d6}>3}+{{1d6}>3}+{{1d6}>3}]] ), but this is limited to the number that I have to manually input. Is there a way to use a stat variable to roll and compare each one of them to the value?