Detecting mercs

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

SemaJynot
a hill giant
a hill giant
Posts: 172
Joined: Fri Apr 15, 2005 9:58 am

Detecting mercs

Post by SemaJynot » Fri Mar 20, 2009 3:01 pm

Anybody have a snippet for detecting if their merc is currently active? And maybe the call to unsuspend one if not active?

I know the merc would be ${Group.Member[1]}, so if you knew your merc's name you could just compare. And if I knew the window parts I might be able to compare against one of the button.

I blame being sick for not being able to think clearly enough.

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

Post by SwiftyMUSE » Fri Mar 20, 2009 3:59 pm

How about ${Group.Member[x].Mercenary}?
PayPal: Donate to SwiftyMUSE
Bitcoin: 1LuQ6YcEAWxF3fm9yWMiro4K582je7364V
Krono: PM me

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...

SemaJynot
a hill giant
a hill giant
Posts: 172
Joined: Fri Apr 15, 2005 9:58 am

Post by SemaJynot » Fri Mar 20, 2009 4:07 pm

rswiders wrote:How about ${Group.Member[x].Mercenary}?
LOL

This is why you never code while sick!

ty