• We just launched and are currently in beta. Join us as we build and grow the community.

How to make arena1-3 PLUA macros?

ugfyuuf

Anime Plot Deconstructor
U Rep
0
0
0
Rep
0
U Vouches
0
0
0
Vouches
0
Posts
57
Likes
105
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 400 XP
So I finally got LUA unlocked but I don't understand yet how to make it call arena IDs.
The following PLUA macro works for my target:
/run if GetSpellCooldown("Kick")==0 and IsSpellInRange("Kick","target") and (UnitCastingInfo("target") or UnitChannelInfo("target")) then CastSpellByName("Kick") end
(Although it sometimes throws an error box saying that a macro is trying to do something only accessible to the Blizz UI - despite saying this, it does work... but it would be nice to get rid of the error box - anyone know how?)
And I've tried this for arena1-3:
/run if UnitCastingInfo(\”arena1\”) then SpellStopCasting() CastSpellByName(\”Shadowstep\”,\”arena1\”) end")()
/run if UnitCastingInfo(\”arena1\”) then SpellStopCasting() CastSpellByName(\"Kick\”,\”arena1\”) end")()
But that did not work.
What should I do instead?
Thank you
 

439,009

316,008

316,017

Top