I know there's a randomInteger(x) function, but I was wondering if there was a way to parse dice notation and resolve a roll from a sheetworker script? I considered just splitting the string on "d" and looping through randomInteger(arr[1]) a number of times equal to arr[0], but then things get complicated if they add in a "+2" at the end. I could use regex to break the entire formula down, but before I go through all the work of reinventing the wheel, I want to make sure the feature doesn't already exist or that someone hasn't done this already.