If you want to use a macro, write it out in the in-game utility then bind it to a key or mouse button. Boom, you've got a completely legitimate and legal macro using only features found in the standard game.