Can someone tell me what is wrong with my petmacro?

/cast Drain Soul /run if UnitExists("pettarget") then if a ==0 then PetAttack("pettarget") a==1else if UnitExsist("pettarget") and UnitIsUnit(“target”, “pettarget”) then PetFollow("Lindlock") a=0 else PetAttack("PetTarget") a=0 end;end;

What I want to do is make my void return to me if he is attacking the same target as I’m about to Drain Soul from. If he is on another target I he can continue attacking.

I tried something else and it didn’t work either:

/cast Drain Soul /script if UnitExsist("PetTarget") and UnitISunit("pettarget","target") PetFollow(Lockvall) end;

Are you putting it all in one line? That might be the problem. Each slash command(/cast, /run, etc) has to start from a new line, otherwise it won’t work.

Shouldn’t be possible. Blizz has specifically disable the ability to conditionally use combat events in order to prevent botting.

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