M6: Brokered macro execution
Due to restrictions introduced in patch 11.0.0 (and subsequent patches to Classic WoW), no macro executed in WoW may trigger another macro execution. As a consequence of this, you might see a chat message stating "Cannot execute an M6 macro now." when using M6 macros by clicking some action bar buttons or when using action bar-managed bindings.
Using supported action bars
M6 includes brokered macro execution support for WoW's default action bars, Bartender4, Dominos, and ElvUI. In this mode, M6 places a placeholder regular /macro on your action bars with instructions to call M6, but this placeholder macro is never executed: instead, the action bar detects that the macro is a placeholder, and asks M6 to execute the appropriate M6 macro directly.
If an error still appears, verify that brokering is enabled with /m6 bb: the broker name corresponding to your action bar should appear in green. If it does not, you can enable it with e.g. /m6 bb native on
Adding action buttons manually
If you are using an action bar addon that does not include support for brokered macro execution, you may be able to add its action buttons to M6 yourself in-game, which may enable brokered macro execution to work with those buttons.
Place the mouse cursor over an action button you'd like to be able to use M6 macros with, and type /m6 bb manual add-cursor in chat. If successful, you should then be able to execute M6 macros using that button, and other similarly-named buttons.
Additional commands are available and can be viewed by typing /m6 bb manual
Using conditional bindings
It is possible to set up a conditional binding (for example, [novehicleui,bar:3] 1) for an M6 macro by holding ALT and clicking its binding button in the /m6 configuration UI. A suggestion for conditionals to use is included in the "Cannot execute an M6 macro now." chat message for macros without conditional bindings already set. Choosing conditionals appropriately may allow the M6 macro binding to override the action bar button binding precisely when the button would be displaying the M6 macro, allowing you to use the macro as-if via regular action bar bindings.
If an action bar addon is using override bindings for its action buttons, this may not work (as it might reassert its own binding, overriding the macro's binding).