I have this type of nested macro working for another set but I cannot for the life of me figure out what is wrong here. I am using this to deal with Ki points on my players Monk. Here is the macro call &{template:npcaction} {{rname=Purse Strings}} {{description=[Flurry of Blows](~FlurryofBlows) }} it is calling this other macro in the sheet @{Plume|wtype}&{template:traits} @{Plume|charname_output} {{name=Patient Defense}} {{source=Class: Monk}} {{description=Immediately after you take the Attack action on your turn, you can spend 1 Ki point to make two unarmed strikes as a bonus action. DC = [[8 + @{selected|PB} + @{selected|wisdom_mod}]] vs @{target|foe|token_name}'s Con Save = [[1d20+ @{target|constitution_save_bonus}]] [Use Ki](!setattr --charid @{character_id} --mod --class_resource|-1) Ki points remaining @{selected|class_resource} }} Any help would be appreciated. When trying to activate it in the chat menu I get the error TypeError: Cannot read property 'substring' of undefined