Anyone help with my modifier key macro not working properly?

Anyone help with my modifier key macro not working properly?

by kotic » Tue May 12, 2015 6:30 am

Not sure where else to ask this but thought this was as good a place as any due to it being a hunter macro.

I made the following macro for stings:

/script if IsShiftKeyDown() then CastSpellByName("Viper Sting") elseif IsAltKeyDown() then CastSpellByName("Scorpid Sting") else CastSpellByName("Serpent Sting") end

It worked perfectly until i restarted the game, at which point only the non-modified key works. I can get the shift key modifier to work again if i move the action button which the macro is on, but the alt modifier wont seem to work at all. Putting in the ranks doesnt help.

I did have the stings on different action buttons but i'm running out of space so wanted to try and consolidate.

Anyone help with it? cheers
kotic
Grunt
Grunt
 

Re: Anyone help with my modifier key macro not working prope

by kotic » Tue May 12, 2015 11:17 am

Edit: spoke too soon. The alt modifier bugged out after an hour or so.

If anyone's interested, a simple missed semi-colon fixes it... or at least it hasnt not worked yet ^^Thus:

/script if IsShiftKeyDown() then CastSpellByName("Viper Sting") elseif IsAltKeyDown() then CastSpellByName("Scorpid Sting") else CastSpellByName("Serpent Sting"); end
kotic
Grunt
Grunt
 


Return to Hunter