Say we select a token ("SomeToken") that is bound to a character sheet with the following attribute: SomeAttribute = 6 Then we call the following macro: /r @{selected|?{AttributeName}} First, an error message will appear in the chat window: No attribute was found for @{SomeToken|?{AttributeName} Then we get pompted to input the variable, which we do: SomeAttribute Last, another error message appears in the chat window: There was an error with your formula. Please try again. According to the Dice Reference, the first 4 steps of the operation order are repeated until all symbols are resolved, which is not the case at the moment. I also tried the following combinations with different errors: /r @{selected|?{AttributeName}} /r @{selected|?{AttributeName}} So there are the following issues: There should be more than one expansion cycle. The "No attribute was found" message should only be shown after there is no difference in two expansion cycles and there are still unresolved symbols. Keep up the good work and let me know if you need more information!