Thread: Macro Question

  1. #1

    Macro Question

    I know this might be a stretch, but %t gives the targets name, is there any chance there is a command that says what they are casting? :P

  2. #2
    Code:
    /run local a = UnitCastingInfo("target") if a then SendChatMessage("%t is casting "..a, "SAY") end
    ?

    Edit:
    this version gives the Spell Link, but not sure if it will always work:
    Code:
    /run local a = UnitCastingInfo("target") if a then SendChatMessage("%t is casting "..GetSpellLink(a), "SAY") end
    Last edited by Ketho; 2011-02-10 at 08:00 AM.

  3. #3
    Thank you very much.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •