
Hello all! So I've written this macro to call up NPC actions within Abiity Command buttons: @{selected|wtype} &{template:traits} {{name=@{selected|character_name}'s Actions}} {{description=[@{selected|repeating_npcaction_$0_name}](~@{Selected|repeating_npcaction_$0_npc_action}) [@{selected|repeating_npcaction_$1_name}](~@{Selected|repeating_npcaction_$1_npc_action}) [@{selected|repeating_npcaction_$2_name}](~@{Selected|repeating_npcaction_$2_npc_action}) [@{selected|repeating_npcaction_$3_name}](~@{Selected|repeating_npcaction_$3_npc_action}) [@{selected|repeating_npcaction_$4_name}](~@{Selected|repeating_npcaction_$4_npc_action}) [@{selected|repeating_npcaction_$5_name}](~@{Selected|repeating_npcaction_$5_npc_action})}} And it works! Except for each time I use it it fills the chat with several red error messages along the lines of "No attribute was found for @{Selected|repeating_npcaction_-MAaU0EfuN-eLtTCiLXz_npc_action}" before doing what it's supposed to do, and the perfectionist in me would really rather it just called up the actions without complaining. Any insights into that one tiny change I'm sure will fix everything? EDIT: (I realise I didn't specify; I'm using the 5e by Roll20 character sheet) EDIT: Oh! And sorry, as a follow-up: Obviously as it stands, if an NPC only has three actions, this macro calls up those, and then informs you via red error that the others don't exist. Is there a macro trick for querying whether the NPC actions exist, and only calling on them if they do? That'd be amazing, it would make my perfectionist, completionist brain so happy! XD Thanks! T x