Want to /fade if I get in combat

TheTempest

New member
Joined
Jul 9, 2009
Messages
56
Reaction score
0
Points
0
Age
38
Hey. I'm using a simple macro to pickpocket. Occasionally I get agro, and I want my macro to /fade when that happens. Can anyone help me and add it to my macro?

Here's what I got

Sub Main
:loop
/target MobImPicking
/if (${Me.AbilityReady[Pick Pockets]}) /doability "Pick Pockets"
:cursor
/if (${Cursor.ID}) /autoinventory
/if (${Cursor.ID}) /goto :cursor
/goto :loop
/return
 
you could add
/if (${Me.CombatState.Equal[COMBAT]}) /fade

Code:
Sub Main
:loop
/target MobImPicking
/if (${Me.AbilityReady[Pick Pockets]}) /doability "Pick Pockets"
[COLOR="Red"]/if (${Me.CombatState.Equal[COMBAT]}) /fade[/COLOR]
:cursor
/if (${Cursor.ID}) /autoinventory
/if (${Cursor.ID}) /goto :cursor
/goto :loop
/return
 
Code:
#event Attacked "#*# YOU for #*#"

Sub Main
    :loop
/target MobImPicking
        /if (${Me.AbilityReady[Pick Pockets]}) /doability "Pick Pockets"
        :cursor
       /doevents
            /if (${Cursor.ID}) /autoinventory
        /if (${Cursor.ID}) /goto :cursor
      /doevents
    /goto :loop
   /return

Sub Event_Attacked
/fade
/return


Should work, dunno. untested.
 
Both of those look like they'll work. I'll test now, but think it's golden. Thanks a bunch guys.
 
Works perfect. If anyone wants to afk pick pocketing, the above mac is the way to go. Just make sure you're hidden away in a random zone, because people will see ya fade if you get in combat when they are near.