For NPCs, I use the macro %{selected|repeating_npcaction_$0_npc_action} and just change the number to the action desired. What is the equivalent for PCs? I'm trying to make a button to roll attacks without having to rewrite the bloody code every time the weapon or attack changes.