Macro Help

With the random selections for spells such as Spatial Paradox, Prescience & Blistering Scales. How would I go about making a macro for the spells target?

Say if I’m fighting Raz and I’m busy doing damage and pop the CD on Spatial Paradox. I would want the macro to show in chat that whoever received it has it.

Something like: " [Spatial Paradox] has been placed on [NearestHealer]. You can cast while moving for 10s. "

I’m pretty sure it might be easier to use an addon for this but I don’t know of any.

I’ve got a few mouseovers that I’m using. It means watching raid frames more but it helps make sure things go where I want them.

#showtooltip
/cast [@mouseover] Spatial Paradox
/raid [Spatial Paradox] has been placed on [NearestHealer]. You can cast while moving for 10s.

I didn’t know [NearestHealer] was a thing! Could you replace that with [@mouseover] so it just says the name of the person you buffed? I’m not familiar with the /say type macro options.

I just copied his line for what he wants to say.

If you do /say, /party, /raid it’ll just post as text in that channel.

So essentially, there’s no way to get it to say who I randomly buffed?

That’s what I was more interest in.

You can target them.

If you want to do that without losing your current target, there are several ways to do so.

Set as focus and use a key modifier (Shift, ctrl, alt) to auto target your focus
mouseover macro
etc…

I found this on Reddit. It should whisper your mouseover target “Innervate,” so change both instances of “Innervate” to whatever you want (leave the " " around the text of your message).

/run local n = UnitIsPlayer(“mouseover”) if n then name, realm = UnitName(“mouseover”) end
/run if realm then SendChatMessage(“Innervate”,“WHISPER”,nil,name…“-”…realm) else SendChatMessage(“Innervate”,“WHISPER”,nil,name) end