Ever wanted a simple data broker plugin? One that does something a macro might do? Like open the calendar, toggle whether your cloak or helm is shown, or perhaps open a window provided by one of your favorite addons? There's no need to go through the hassle of coding it yourself or wait for another to do the work for you - just use Macro Broker.
Macro Broker uses an interface much like that of the standard macro UI. (See the screenshot.) To access the Macro Broker window, use one of these slash commands: /macrobroker, /broker, or /mb.
Broker macros work much like standard WoW macros, running a set of commands when clicked. All the standard conditionals - such as [mod], [flying], [combat], or [button:1] - are supported, as are #show and #showtooltip.
Additionally, the slash command /eval (alias /ev) is included to allow you to use macro-style conditionals with commands that don't normally allow them. /eval can be used wherever slash commands are viable, including both broker macros and your standard macros. See the screenshot or the included eval.lua file for example usage.
However, broker macros and the /eval command cannot execute secure commands, so things like /cast or /target are out of bounds, with a couple of important exceptions. First, /stopmacro is allowed, as Macro Broker will handle that command itself. Second, /cast can be used with tradeskill "spells" such as Engineering or Blacksmithing.
- 1 comment