D'oh! I was so close! It should be working now but I'm getting an error about a missing or extra bracket, I've combed over it again and again and I can't see where I messed up. @{wtype}&{template:npcaction} @{selected|repeating_npcaction_$0_attack_display_flag} @{selected|repeating_npcaction_$0_damage_flag} {{name=@{selected|npc_name} (+@{selected|repeating_npcaction_$0_attack_tohit} @{selected|repeating_npcaction_$0_attack_type}) Range: @{selected|repeating_npcaction_$0_attack_range}}} {{rname=@{selected|repeating_npcaction_$0_name_display}}} {{r1=[[1d20+@{selected|repeating_npcaction_$0_attack_tohit}]]}} {{always=1}} {{r2=[[1d20+@{selected|repeating_npcaction_$0_attack_tohit}]]}} {{dmg1=[[@{selected|repeating_npcaction_$0_attack_damage}]]}} {{dmg1type=@{selected|repeating_npcaction_$0_attack_damagetype}}} {{crit1=[[@{selected|repeating_npcaction_$0_attack_crit}]]}} {{dmg2=[[@{selected|repeating_npcaction_$0_attack_damage2}]]}} {{dmg2type=@{selected|repeating_npcaction_$0_attack_damagetype2}}} {{crit2=[[@{selected|repeating_npcaction_$0_attack_crit2}]]}} {{description=@{selected|repeating_npcaction_$0_description}}} @{charname_output} The error is: SyntaxError: Expected "(", ".", "[", "abs(", "ceil(", "d", "floor(",
"round(", "t", "{", [ |\t], [+|\-] or [0-9] but end of input found. The error happened when I put in the [[inline rolls]], everything running and displaying fine before that.