My goal is to click-cast PI (on Danders Frames) then whisper the recipient. Here’s what I’m using:
\#showtooltip Power Infusion /use 13 /use 14 /cast \[@mouseover,help,nodead\]\[help,nodead\]\[@player\] Power Infusion /run local n=GetUnitName("mouseover",true);if n and UnitIsPlayer("mouseover")then SendChatMessage("PI on you","WHISPER",nil,n)end
The /whisper part only works on blizzard unit frames it seems.