4 replies [Last post]
buckleyperm
buckleyperm's picture
User offline. Last seen 14 weeks 2 days ago. Offline
Joined: 12/13/2009
Posts: 17

K got 2 locks and i want to send both imps in 1st so i wrote out this(its bound to(1) if that makes a difference):

imsen
********************************************
KeyReset 20000
if %KeyCount% = 1
msg imsend
<<Huala>>
Macro /petattack [target=%$Huala%target]
endif

if %KeyCount% = 2
msg imsend
<<Huup>>
Macro /petattack [target=%$Huala%target]
KeyReset
endif

So it should work like: Hualas pet goes on 1st press and Huups pet goes on @nd press.
What is actually happenin is Hualas pet will attack, Huups pet is not doin anything.
Any suggestions?

I've also tried the followin just to see if they would work under 1 press:

<<All>>
Macro /petattack [target=%$Huala%target]

<<Huala,Huup>>
Macro /petattack [target=%$Huala%target]

I wasn't able to get them to go under 1 press either.

Phil
Phil's picture
User offline. Last seen 5 hours 59 min ago. Offline
Joined: 06/30/2009
Posts: 411
Try this

Change

Macro /petattack [target=%$Huala%target]

To

Macro /petattack [target=Huala-target]

%xxx% recalls a variable value. GCP has no value %$Huala%, so it will expand as blank. It will evaluate as

Macro /petattack [target=target]

This will work for your first toon, who has a target, but not for the 2nd, who doesn't

Phil

buckleyperm
buckleyperm's picture
User offline. Last seen 14 weeks 2 days ago. Offline
Joined: 12/13/2009
Posts: 17
that done it

Works good. now i can target the pets on seprate mobs from the same window.
thanks mate
Buckleyperm

mimo72
mimo72's picture
User offline. Last seen 12 weeks 3 days ago. Offline
Joined: 02/01/2010
Posts: 2
ok total noob here, still

ok total noob here, still learning I am running 4 warlock where and how do you add the command in GCP to send in pets my main is a pally (I know wierd combo) and how do you bind the commands. Please help thxs

__________________

Peace, Love and Chicken Grease

Phil
Phil's picture
User offline. Last seen 5 hours 59 min ago. Offline
Joined: 06/30/2009
Posts: 411
To add a command

To add a command:

  1. Click view/advanced.
  2. On the form click new, and name the command.
  3. Enter the command instructions there.
To add a key binding:
  1. Click view/keys
  2. Find a blank (grey) key on the mimic and click it.
  3. Select the name of the command you used in step 2 above.

The command format you need is something like:

KeyReset 20000
if %KeyCount% = 1
<<NameOfLockOne>>
Macro /petattack [target=NameOfPally-target]
endif

if %KeyCount% = 2
<<NameOfLockTwo>>
Macro /petattack [target=NameOfPally-target]
endif

if %KeyCount% = 3
<<NameOfLockThree>>
Macro /petattack [target=NameOfPally-target]
endif

if %KeyCount% = 4
<<NameOfLockFour>>
Macro /petattack [target=NameOfPally-target]
KeyReset
endif

Or simply:

<<ALL>>
Macro /petattack [target=NameOfPally-target]

Phil