I'm currently trying to write a macro that allows me to toggle which weapon I'm using with the help of the ChatSetAttr script. I have an attribute called "Pact Weapon", and a "Summon Pact Weapon" macro, which currently looks like this: !setattr --name X --Pact Weapon|[[?{Pact Weapon|Dagger, 1d4|Javelin, 1d6}]] Now what I want the macro to do is to set the Pact Weapon attribute to "1d4" or "1d6", however what it actually does is roll the die, and then set the attribute as the result (so 1, 2, 3, etc.). Any ideas on how to fix this?