Log in

View Full Version : sheep macro help



Tnarg
10-22-2008, 10:22 PM
Hi, I want to make a macro that will do the following but my macro skills are not up for the job:

Sheep my focus target if I have a hostile focus target
else Sheep my focus target if I have a friendly focus target
else Sheep my target if its Hostile
else Sheep my target's target if I have a friendly target who has a Hostile target

Also I want this macro not to change my target or focus target.

Can any one help?

NashTitan
10-23-2008, 02:12 AM
Hi, I want to make a macro that will do the following but my macro skills are not up for the job:

Sheep my focus target if I have a hostile focus target
else Sheep my focus target if I have a friendly focus target
else Sheep my target if its Hostile
else Sheep my target's target if I have a friendly target who has a Hostile target

Also I want this macro not to change my target or focus target.

Can any one help?Not sure about the macro but your 1st 2 lines are contradictory. You want to sheep your focus if its hostile else sheep your focus if its friendly. So in other words just sheep the focus no matter what.

Tynk
10-23-2008, 02:16 AM
/cast [target=focus, exists, harm] Polymorph, [target=focus1target, exists, harm] Polymorph, [target=target, exists, harm] Polymorph, [target=targettarget, exists, harm] Polymorph

Tnarg
10-23-2008, 02:55 AM
Thank you thats 100% what I wanted to do.

elsegundo
10-23-2008, 06:55 AM
the syntax on that is wrong. you will not get it to work.

Harem
10-23-2008, 08:21 AM
It's wrong but you did not post the right one or explain what's wrong?

I am not a macro wizard so I don't see what's wrong or I'd post the correction.

semicolon instead of comma?

/cast [target=focus, exists, harm] Polymorph; [target=focus1target, exists, harm] Polymorph; [target=target, exists, harm] Polymorph; [target=targettarget, exists, harm] Polymorph

Is that it?

elsegundo
10-23-2008, 08:35 AM
you can do it that way. sure. hehe.

i'd write it like this but either way works.


/cast [target=focus, harm] [target=focustarget, harm] [target=target, harm] [target=targettarget, harm] Polymorph; Polymorph

if your focus is harmful, polymorphs. if not...
if your focus' target is harmful, polymorphs. if not...
if your target is harmful, polymorphs. if not...
if target's target is harmful, polymorphs. if not...
polymorph anyway.