1. #1

    Useful Macro: Silent Inspect (Inspect without a target)

    Just thought some people would enjoy this macro, so here it is !

    What it does is it makes your focus target your mouseover and then inspects them and prints a message saying who and what class you're inspecting. If you don't have a mouseover target your focus is cleared and a chat message is produced saying your focus was cleared.

    Code:
    /focus mouseover
    /run if UnitExists("focus") then InspectUnit("focus"); ChatFrame1:AddMessage("Now Inspecting: "..UnitName("focus").." ("..UnitClass("focus")..")") else ChatFrame1:AddMessage("-- Focus Cleared") end
    Same thing with no messages:
    Code:
    /focus mouseover
    /run if UnitExists("focus") then InspectUnit("focus") end
    Enjoy


  2. #2

    Re: Useful Macro: Silent Inspect (Inspect without a target)

    Sweet! I was (secretly) working on something similar but was having trouble figuring out the focus bit.

  3. #3

    Re: Useful Macro: Silent Inspect (Inspect without a target)

    Pretty sweet macro, was wondering if this was somehow possible :] .
    You face not Malchezaar alone, but the legions he commands.

  4. #4
    If someone else happens to google this as I did and ends up here: You do not need to use your focus-target as a temporary variable. Simply do

    Code:
    /run InspectUnit("mouseover")

Posting Permissions

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