So, I've made a macro for myself to blurt out some basic statistics of NPC for myself so I don't have to go back and forth to the character sheet, but some NPC's dont really play nice with the macro while some do. The macro in question is: /w gm &{template:default} {{name=@{selected|npc_name}}} {{Armor Class= @{selected|npc_AC} @{selected|npc_actype}}} {{Hit Dice= @{selected|npc_hpformula} | [[@{selected|npc_hpformula}]]}} {{Speed= @{selected|npc_speed}}} {{Senses=@{selected|npc_senses}}} {{Condition Immunity=@{selected|npc_condition_immunities}}} {{Resistances= @{selected|npc_resistances}}} {{Immunities= @{selected|npc_immunities}}} The result would be the following: I have a problem with some NPC's and the following error occurs: SyntaxError: Expected [0-9] but " " found. Does anyone know what the problem can be? I can provide some more information if I'm told what I need to check but as of now I'm clueless as to why it doesn't work.