Page 1 of 1

What is wrong in this macro?

PostPosted: Wed Sep 02, 2015 12:34 pm
by Greengrass
/run local x = IsShiftKeyDown(); if x == nil then CastSpellByName("Seal of Command(Rank 3)") else CastSpellByName("Seal of Command(Rank 1)"); end;


Is it possible to make this macro workable?

Re: What is wrong in this macro?

PostPosted: Wed Sep 02, 2015 2:51 pm
by Aunstic
You forgot a semi-colon after Seal of Command r3.
/run local x = IsShiftKeyDown;if(x == nil) then CastSpellByName("Seal of Command(Rank 3)"); else CastSpellByName("Seal of Command(Rank 1)");end;

Re: What is wrong in this macro?

PostPosted: Wed Sep 02, 2015 3:25 pm
by Geigerkind
Those shouldnt be required^^

Try this:

/run if (IsShiftKeyDown()) then CastSpellByName("Seal of Command(Rank 1)") else CastSpellByName("Seal of Command(Rank 3)") end

That should work