
So I made this macro based on the work previously done by Robert S. here <a href="https://app.roll20.net/forum/post/5334546/5e-ogl-b" rel="nofollow">https://app.roll20.net/forum/post/5334546/5e-ogl-b</a>... [@{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) Basically auto populates the API buttons with the proper names of the attack rather than a generic "action1". Works fine but in order to have a clean presentation you have to have the right amount of actions otherwise I get an error and it puts the code into the empty action. Ideally I would like to detect an empty entry and drop that extra action from the choices and not have the error message clutter up the screen. Maybe covert it to a drop down menu?