Needed some help with combining two macros( have hit the 30 macro limit in supermacro so need to save some space).
The way I have setup things is that I have two macros for each healing spell and decurse/remove poison. One macro I have binded to a regular key. And the second macro for the same spell is keybinded to that key+shift.
So would like to try and combine the two and use a shift modifier command. Googled around and found a macro that worked with shift modifier, example macro that works fine:
/run if IsShiftKeyDown() then CastSpellByName("XXXXX()") else CastSpellByName("XXXXX()"); end
Don't know how to type it up though to get it to work for my two macros.
First macro, regular key: (uses lunamo addon command for casting spell, works as mouseover cast):
/script UIErrorsFrame:Hide()
/script UIErrorsFrame:Clear()
/script SpellStopCasting()
/script if nil then CastSpellByName("Healing Touch(Rank 4)") end
/lunamo Healing Touch(Rank 4)
Second macro, when shift held down:(i use this to have a spammable non stopcasting macro that will take me out from any form, also for when healing a tank and needing to heal myself without losing target)
/script local b,c=buffed,CancelBuff if b("Cat Form") then c("Cat Form") else if b("Dire Bear Form") then c("Dire Bear Form") else if b("Travel Form") then c("Travel Form") else if b("Aquatic Form") then c("Aquatic Form") end end end end
/script UIErrorsFrame:Hide()
/script UIErrorsFrame:Clear()
/target Satchmo
/cast Healing Touch(Rank 4)
/script TargetLastTarget()
Would appreciate it a lot if someone could help me out. Been trying for like an hour now without any success.
The way I have setup things is that I have two macros for each healing spell and decurse/remove poison. One macro I have binded to a regular key. And the second macro for the same spell is keybinded to that key+shift.
So would like to try and combine the two and use a shift modifier command. Googled around and found a macro that worked with shift modifier, example macro that works fine:
/run if IsShiftKeyDown() then CastSpellByName("XXXXX()") else CastSpellByName("XXXXX()"); end
Don't know how to type it up though to get it to work for my two macros.
First macro, regular key: (uses lunamo addon command for casting spell, works as mouseover cast):
/script UIErrorsFrame:Hide()
/script UIErrorsFrame:Clear()
/script SpellStopCasting()
/script if nil then CastSpellByName("Healing Touch(Rank 4)") end
/lunamo Healing Touch(Rank 4)
Second macro, when shift held down:(i use this to have a spammable non stopcasting macro that will take me out from any form, also for when healing a tank and needing to heal myself without losing target)
/script local b,c=buffed,CancelBuff if b("Cat Form") then c("Cat Form") else if b("Dire Bear Form") then c("Dire Bear Form") else if b("Travel Form") then c("Travel Form") else if b("Aquatic Form") then c("Aquatic Form") end end end end
/script UIErrorsFrame:Hide()
/script UIErrorsFrame:Clear()
/target Satchmo
/cast Healing Touch(Rank 4)
/script TargetLastTarget()
Would appreciate it a lot if someone could help me out. Been trying for like an hour now without any success.