Hey all been a while since I last played and trying to get the macros I use to have back.
This macro I would use to annouce that I casted Hand of xxx on a player in say chat. However I am rusty in writting these so any help be great.
=Macro=
#showtooltip
/cast [target=mouseover,help,nodead][help][target=player] Hand of Freedom
/run local name = UnitName("mouseover"); SendChatMessage(GetSpellLink("Hand of Freedom") .. " on " ., name .. "SAY")
1) If casted on a player via mousover
Result: Say: [Hand of Freedom] on (player name).
2) If casted with no one mouseover
Result: Casted on myself with no "Say" message.