I am using a nested macro I found to show the list of actions that a NPC has when it's token is selected: /w gm&{template:npcaction} {{rname=@{selected|npc_name}}} {{name=Actions}} {{normal=1}} {{description=1:[@{selected|repeating_npcaction_$0_name}](~selected|repeating_npcaction_$0_npc_action) 2:[@{selected|repeating_npcaction_$1_name}](~selected|repeating_npcaction_$1_npc_action) 3:[@{selected|repeating_npcaction_$2_name}](~selected|repeating_npcaction_$2_npc_action) 4:[@{selected|repeating_npcaction_$3_name}](~selected|repeating_npcaction_$3_npc_action) }} My problem is that if there are less than 4 actions on the NPC character sheet, the output gets very ugly: Is there any way to only show as many actions as there actually are, or would that require a far more complicated API script instead of a macro? Bonus question: I want the list of actions to be whispered to GM, but the output of the attack to be visible to the players. Is that possible? Right now I don't really use the buttons the macro produces, but made individual token actions like Attack-1 that does %{selected|repeating_npcaction_$0_npc_action}