Is this ok?
PHP Code:
--Hand of Freedom, Right Alt Key Down
local debuff = { 116281, 105289, 110317 }
for i=1,#debuff do
if PQR_SpellAvailable(1044) and ((UnitDebuffID("player", debuff[i]) or UnitBuffID("player", debuff[i])) or IsRightAltKeyDown() and not GetCurrentKeyBoardFocus()) then
CastSpellByName(GetSpellInfo(1044), "player")
end
end
re-post from last page
How do I get the time of trinket13 or trinket14? I tried using getTime but I must be doing it wrong.
My double jeopardy code is below, can someone tell me why it only attacks focus even though I have the glyph?
Am I checking glyph's wrong?
This is what I have now.
PHP Code:
local doubleJeopardy = { 41092, 57030, 54922, 121027 }
for i=1,#doubleJeopardy do
if HaveGlyph(i) then
It doesn't seem to work so I tried to change it to this
PHP Code:
local doubleJeopardy = { 41092, 57030, 54922, 121027 }
for i=1,#doubleJeopardy do
if HaveGlyph(doubleJeopardy[i]) then
Still doesn't work but my flag pickup works this way?
PHP Code:
-- Pvp Flag
local flag = { "Alliance Flag", "Horde Flag", "Netherstorm Flag" }
for i=1,#flag do InteractUnit(flag[i]) end