This has likely been discussed and requested before, but it would be fantastic if we had some macro API to queue actions.

Something like a /queue "action" command would really help open a lot of macro doors without enabling automated decision-making.