I have an issue with nested macros. I am trying to set up the following macros: Edit: It looks like the editor is ignoring the code formatting and changing the HTML entity values back to their original characters. The second #roll-weapon-0 entry and second #roll-weapon-1 entry are supposed to have the characters %,{,|,} changed to their corresponding HTML entities. That is the test that I actually performed. The values (prepended by & of course), are as follows for quick reference: % #x25; { #x7B; } #x7D; $ #x24; | #x7C; #roll-weapon-0 %{selected|repeating_weapon_$0_attack-roll} OR #roll-weapon-0
%{selected|repeating_weapon_$0_attack-roll} and #roll-weapon-1 %{selected|repeating_weapon_$1_attack-roll} OR #roll-weapon-1
%{selected|repeating_weapon_$1_attack-roll} and then executing ?{Weapon|Sword,#roll-weapon-0 |Mace,#roll-weapon-1 } As per <a href="https://wiki.roll20.net/Macros#Nesting_in_a_Roll_Q" rel="nofollow">https://wiki.roll20.net/Macros#Nesting_in_a_Roll_Q</a>... and the Troubleshooting section in the next paragraph, one of these options should work. I have tried both leaving the text as is, as well as encoding potentially problematic characters. Please note that the final recommendation, " Note that macros which contain HTML entities may no longer function autonomously and must be saved as Abilities ." does not help at all. If I create an Ability with the HTML encoded version of the second line of each macro, I then still have to reference the ability in the Prompt macro. Specifying an ability requires exactly the same set of special characters that I just escaped. Specifying the macros with normal characters breaks the roll query altogether. When I replace the macro text with the HTML entity equivalents, the query then just dumps out the raw text based on which option I pick. It does not execute anything. I looked at the order of operations, and I understand that macros are expanded before roll queries are executed. However, it looks like the resulting commands are not being executed; they are just being printed as text.