LUA inside macro?
I was looking to swap forms depending on conditions, and I have looked at some published macros but they use terminology which I do not understand, they do not work, or a bit of both.
In pseudo code I would like to press the same button to do this:
if indoors then Prowl if you can, else Cat
if outdoors then travel form
if already in some form then cancel form
During one of my attempts I tried to use a function (now I forget which) and I got a popup error "function only available to Blizzard UI"...
Could anyone please tell me if such a macro can be written ?
|