Macro help

LF someone more skilled with macros than myself! :slight_smile:

I’m trying to make a “target specific mob - whisper self only if target exists” macro, but I can’t seem to get it to work correctly.
To be more specific, what I tried to do is:

/target (NAME OF MOB)
/stopmacro [noexist]
/tell (CHAR NAME) << %t >>

However, it still whispers me without a target.
Any suggestions?
Also, is there possible to make a “targetsequence” like castsequence?
For SM Gy, it’d be nice to see if any of the 3 rare mobs are up, and even raidmark them if possible?
Help with this kind of macro also appreaciated! :smiley:

Just do

/tar [Mob Name]
/tar [Mob Name]
/tar [Mob Name]

(Or depends on how many you wanna see.)
And if you target anything you know its up, No need to make anything fancy with whispering, you might need a weakaura for that either way

Hmm, yeah… Maybe I’m thinking a bit too advanced…
Just remembered using something like that when LF a specific mob in retail (but flying though, so the /w was handy incase I was asleep)…

As for 3x /target macros, if 2 are up, won’t it just show the last? Hence why I was wondering about something similar to “castsequence” but for targeting…

try using a weakaura for it along with your macro

/targetexact [nodead] MOBNAME
/stopmacro [noexists]
/run SendChatMessage(“Found “…UnitName(“target”)…”!”,“whisper”,nil,UnitName(“player”))
/script SetRaidTarget(“mouseover”,8);

Should work :slight_smile:

Only works if you otherwise have NO target though.

I suggest just making 3 macros with different marks for each mob though, feels most safe :slight_smile:

Perhaps this:

/cleartarget
/tar mobname
/stopmacro [noexists]
/stopmacro [dead]
/t charname << %t >>

I think the noexist/noexists error is all you need to fix, but adding /cleartarget at the beginning could be nice so you don’t whisper yourself because you targeted something else, then couldn’t find your wanted mob but still had a target.

Edit: Added line because of Ethly’s good point =)

Also dead condition will be helpful, because /target selects dead mobs and usually you’re not interested in dead mobs.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.