I took the damage script Craven created and I am trying to modify it to my needs but I am having an issue pulling @{target|token_id} into --& or --# to set [$Target] and [$TargetAC] Here is what I have: !scriptcard {{ --:USER INPUT| --&RollString|?{Attack Type?|Normal,1d20|Advantage,2d20kh1|Disadvantage,2d20kl1}+[[@{selected|dexterity_mod}]] + [[@{selected|pb}]] + 3]] --&DamDice|?{Damage Dice?|1d4} --#Target|@{target|token_name} (I also tried using --&) --#TargetAC|@{target|npc_ac} --:TITLE CARD DISPLAY| --#title|Attack against [$Target]. --#leftsub|[&RollString] --#rightsub|Nice and easy! --:LOOP THROUGH ATTACKS -->MakeAttack| call function --:DISPLAY TOTAL DAMAGE| --+Total|Total damage is [$DamageTotal] --X|Exit macro --:PROCEDURES| --:MakeAttack| --=ThisAttack|[&RollString] --?[$ThisAttack.Base] -eq 20|Crit --?[$ThisAttack] -ge [$TargetAC]|HIT --?[$ThisAttack] -lt [$TargetAC]|HIT --:AttackDone| --<| --:Hit| --=ThisDamage|[&DamDice][BASE]+1d4+[[@{selected|dexterity_mod}]] + 3 --=DamageTotal|[$DamageTotal] + [$ThisDamage.Total] --+Attack[$DisplayCount.Total]|[$ThisAttack] [b]Hits[/b] for [$ThisDamage] dam --^AttackDone| --<| --:Crit| --=ThisDamage|[&DamDice][BASE]+[[@{selected|dexterity_mod}]] + 3 [MOD] + 4 [CRIT] --=DamageTotal|[$DamageTotal] + [$ThisDamage.Total] --+Attack[$DisplayCount.Total]|[$ThisAttack] [b][#009900]Crits[/#][/b] for [$ThisDamage] dam --^AttackDone| --<| }} Thanks for any assistance.