Not sure if this is the right place to post this but here goes.
I'm trying to make assisting a little easier. I generally assign myself 3 assists - a main tank, off tank and main assist. Now I just use 3 macros and edit them before combat. I'm just looking for a one but click solution.
A friend found on the wow forums a script that will work for assigning a single assist:
Code:
/run local m=GetMacroIndexByName("AssistByChoice");local n,i,_,g=GetMacroInfo(m);EditMacro(m,n,i,"/assist "..UnitName("target"),g)
What I'd like to do is use modifier keys to assign 3 assists. So far this is what I have.
Code:
/run local m; f=GetMacroIndexByName if(IsControlKeyDown()) then m=f("AM") elseif(IsAltKeyDown()) then m=f("AO") else m=f("AN") end;local n,i,_,g=GetMacroInfo(m);EditMacro(m,n,i,"/assist "..UnitName("target"),g)
This is one iteration of many that fail. I did get it working with only one IsAltKeyDown to assign just one assist.
Hope this makes sense, and thanks.