Below is Ranger
build first level with purchased One Hand Crossbow (eventual Gloomstaker with
Crossbow Expert feat)  To get One Handed
crossbow dragged 2014 compendium to character sheet rolled and used cursor
up.  No customization.  There are 13
sections below, the sixth one appears to have an issue with the curly braces
(They are not matching.) 
  
First the full macro:      @ {MacroBug|wtype} & {template:atk}   {{mod=+5}}   {{rname=[Hand
Crossbow](~-427630833_14381484|repeating_attack_-ObQGXOAHXReLsKzbCQP_attack_dmg)}}
  {{rnamec=[Hand
Crossbow](~-427630833_14381484|repeating_attack_-ObQGXOAHXReLsKzbCQP_attack_crit)}}
  {{r1=[[@{MacroBug|d20}cs>20 + 3[DEX]
+ 2[PROF]]]}} @{MacroBug|rtype}cs>20 + 3[DEX] + 2[PROF   {{range=30/120}}   {{desc=}}   {{spelllevel=}}   {{innate=}}   {{globalattack=@{MacroBug|global_attack_mod}}}
  ammo=  @ {MacroBug|charname_output}       The code in
question:    {{r1=[[@{MacroBug|d20}cs>20 + 3[DEX] +
2[PROF]]]}} @{MacroBug|rtype}cs>20 + 3[DEX] + 2[PROF]]]}}      There are 2 open curly, 2 open
square. squares around MacroBug, Dex and Prof are matching. two closing square
two closing curly we match at this point  MacroBug DEX and
Prof are matching  then we get to the
part I am having trouble with ]]]}} (at the end of the line)    They don't match anything.         Can someone explain
this?       
  My goal in
understanding this is I am trying to convert this from atk template to atkdmg
template and for the most part have it working.    
 
				
			 
