
Hi all, I suspect this is a common problem but could not find why this wouldn't work properly. I am attempting to create a simple dice macro with a nested query on a 5e character. I've successfully made multiple nested queries in other macros before (on a 3.5 sheet) but for some reason cannot seem to get this one to function properly once the "Custom" option is selected. No syntax error is thrown. I've placed spaces in the html code for the closed brackets just in case they get converted when I post this. &{template:npc} {{?{Roll Type?|Normal,always|Advantage,advantage|Disadvantage,disadvantage}=1}} {{rname=?{D?|4,D4|6,D6|8,D8|10,D10|12,D12|20,D20|100,D100|Custom,Rolling...?{How many& # 125;d?{Die type& # 125;}}} {{r1=[[?{D?|4,1d4|6,1d6|8,1d8|10,1d10|12,1d12|20,1d20|100,1d100|Custom,?{How many& # 125;d?{Die type& # 125;}]]}} {{r2=[[?{D?|4,1d4|6,1d6|8,1d8|10,1d10|12,1d12|20,1d20|100,1d100|Custom,?{How many& # 125;d?{Die type& # 125;}]]}} Any suggestions? The stand alone version works just fine: &{template:npc} {{?{Roll Type?|Normal,always|Advantage,advantage|Disadvantage,disadvantage}=1}} {{rname=Rolling...?{How many}d?{Die type} }} {{r1=[[?{How many}d?{Die type}]]}} {{r2=[[?{How many}d?{Die type}]]}}