This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Macro help again
Post Reply
Return to board index
Post by
Dansk
So I have this macro:
#showtooltip
/cast Chain heal(rank 4)
I was wondering what I need to put to make it so ethat if I don't have a mouseover I heal my Target and if I dont' have a target, I heal my focus.
Thanks in advanced :D
Post by
Wanderingfox
/cast Chain heal(rank 4)
Should do it.
Post by
Dansk
/cast Chain heal(rank 4)
Should do it.
Doesn't work.
Post by
Wanderingfox
doh this is what i get for posting half asleep.
Try
/cast Chain Heal(rank 4)
or
/cast Chain Heal(rank 4)
Post by
HighFive
Actually the only problem with it is the missing
e
in
mouseover
.
Except... shouldn't there be
exists
conditionals? I.E./cast Chain Heal
Post by
Dansk
Actually the only problem with it is the missing
e
in
mouseover
.
Except... shouldn't there be
exists
conditionals? I.E./cast Chain Heal
works wonders, thanks
I also want it to be able to heal me when I press alt.
Post by
73066
This post was from a user who has deleted their account.
Post by
Dansk
#showtooltip Chain Heal(Rank 4)
/cast Chain Heal(Rank 4)
That should do what you're requesting
Thanks, worked really well.
Post by
Crimor
That has to be one of the most complex oneliners I've seen in a while :P
Post by
Corveroth
You obviously don't play with macros much.
/cast Chain Heal(Rank 5); Chain Heal(Rank 2)
/run local f,S,c=SendChatMessage,"",{"raid","raid_warning","guild","yell","say","emote"}for a=1,GetNumRaidMembers()+6 do S=a==6 and"wants you to l"..S:sub(2)or"Loot the "..UnitName"target".."!" f(S,cor"whisper",nil,GetRaidRosterInfo(a-6))end
/run F=CreateFrame"Frame" F:RegisterEvent"CHAT_MSG_WHISPER" F:SetScript("OnEvent",function(_,_,m,a,...) f=string.find if f(m,"gift")or f(m,"gotw")or f(m,"mark")or f(m,"motw")then SendChatMessage(a.." is whining about a useless buff!","RAID") end end)
/run function spam(t,s,n) local i,F=0,CreateFrame"Frame" F:SetScript("OnUpdate",function() SendChatMessage(s,'whisper',nil,t)i=i+1 s=i<n and" "..s or s:sub(2)if i==2*n-1 then F:SetScript("OnUpdate",nil)end end)end
Note that not all of the above are, uh, practical. And this one isn't a one-liner at all, but it's a handy sort of macro for marking up a pull all at once (uses truncated but unique name substrings to pick up targets while staying within size limits):
/tar Sunblade Da
/run R=SetRaidTarget U="target" R(U,3)
/tar Sunblade V
/run R(U,1)
/tar Sunblade S
/run R(U,2)
/tar Sunblade Dr
/run R(U,7)
/tar Sunblade C
/run R(U,5)
/tar Sunblade Du
/run R(U,4)
/tar Sunblade A
/run R(U,6)
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.