It sounds like an X/Y problem... What is it you specifically need to do? Alter the character sheet? Or just know what particular dice are in a roll? If it's the former, I think you're going to have to grab the HTML of the sheet from the Git repository and make the alterations, yourself. If it's the latter, and if this is an API command, APILogic has a couple of plugins that ship with it to handle inline rolls and get particular sets of dice, and they would play in other scripts' command lines. You can get dice by position (getDiceByPos) or get dice by value (getDiceByVal). If you drop those into your command line where you need them, you can at the very least report them out. !somescript --roll|[[3d10 + 2d8]] --brutaldice|{&eval}getDiceByPos($[[0]], >4){& /eval} Thinking through your potential need, though, I see the opportunity for a few other functionalities to get different cuts of the dice pool... getDiceByPos & getDiceByVal - should know to get all of the dice except for those not in certain positions... that would let you collect an unknown number of dice, if you were adding dice based on an attribute amount; for instance, if your roll were [[1d20 + @{selected|brutalmod}]], and you wanted to collect all of those brutal dice, you should be able to say "everything not in position 1" getDiceBySide (new plugin) - to get dice by their hedrality... d4, d6, d8, etc. getDice - a grand function to take any of the above filtering in an object to have maximum flexibility over what you get returned