A little /macro help.
Try replacing targetcustomnear mypet with petselect 0 and see if that works.

[ ProTip: The banner is a link to art refs!! | The Khellection | The HBAS Repository | Brute Guides (4/16/10) | How To Post An Image - A Quick Guide ]
Biggest Troll on the forums? I'll give you a hint:

The targeting part works, but the power never fires.
I have gotten it to work on a keybind using +$$ at the beginning to fire the commands off on press and release of the key, but for what I'm doing I need this to work on a macro. |
The following is untested, but it might be worth a shot: Use a "bind" file!
equip.txt
$$powexecname Equip Thugs
Then your macro would be as follows:
"targetcustomnear mypet$$bindloadfilesilent equip.txt"
Based on a previous thread and some experimental testing, I've found that having the command in the bind file as I have displayed it above should make it run automatically when the bind file is loaded. With any luck, the time it takes the client to load the file is long enough for your pet to be targeted already. You might get a couple error messages in the chat when the file is loaded, but that's the price we pay for doing something that probably isn't intended. lol
Edit:
I just tested in-game and while the powexec command does fire automatically when the file is loaded, it's still too fast. It doesn't seem to work any differently than the original macro you had.
So then I tried to be tricky and make the macro automatically re-run itself.
I put this macro in slot1 of my first tray:
"targetcustomnext friend$$powexecname Clear Mind$$powexecslot 1"
The client crashes immedately after pressing the macro because it doesn't just run the command a second time, it creates an infinite loop. OOPS! haha
So then I decided to just make two macros and have one automatically run the next.
slot1: "targetcustomnext friend$$powexecname Clear Mind$$powexecslot 2"
slot2: "targetcustomnext friend$$powexecname Clear Mind"
Unfortunately, it seems the powexecslot commands do absolutely nothing inside a macro, which is weird considering it crashed me the first time when it referenced itself. Oh well.
Sorry, I've got nothing else. I like binds much better. How come you "have to" use this as a macro anyway?
I was finally about to get around to testing that out, guess I can skip it now.
Thanks for doing the legwork for me =D
I don't actually need it on a macro, I'm using popmenus, so the +$$ still would not be a viable option.
I started making a popmenu for pet emotes, then figured I could also make one for all the powers as well, works great for summoning and issuing commands to groups or individual pets. the upgrade powers have been the only hiccup in my master plan >insert maniacal laughter here<.
I suppose I'll just have to settle for having to target a pet first.
Thanks again for the help.
EDIT:
So I thought about this a bit more and found a solution, kind of.
I'm now using powexec_auto to get the powers to fire, I then added another option to the popmenu to quickly set the auto back to secondary mutation, It's not ideal, takes a couple more keypresses than I would like, but I tested it out a bit and it works for me.
Yeah, I have found targetting and activating at the same time almost never works. I always press the macro twice to get it to work.
Here are a couple of Popmenus I made for Masterminds.
First, a pretty basic one for Thugs:
//Summonin' Dem Thugz!! // Menu "Thugs" { Title "Callin' The Posse" Option "&1 Call Thugs" "powexec_name Call Thugs" Option "&2 Call Enforcer" "powexec_name Call Enforcer" Option "&3 Call Bruiser" "powexec_name Call Bruiser" Option "&4 Gang War!!" "powexec_name Gang War" Divider Title "Thug Buffin'" Option "&5 Equip Thugs" "powexec_name Equip Thugs" Option "&6 Upgrade Equipment" "powexec_name Upgrade Equipment" }
//Build Bots To BASH!! // Menu "Robotics" //Build-A-Bot // Menu "&1 Build-A-Bot" { Title "Build-A-Bot" Option "&1 Battle Drones" "powexec_name Battle Drones" Option "&2 Protector Bots" "powexec_name Protector Bots" Option "&3 Assault Bot" "powexec_name Assault Bot" } //Buff-A-Bot // Menu "&2 Buff-A-Bot" { Title "Buff-A-Bot" Option "&1 PetSelect" "petselect 0" Option "&2 Equip Robots" "powexec_name Equip Robot" Option "&3 Upgrade Robots" "powexec_name Upgrade Robot" } //Select-A-Bot Menu "&3 Select-A-Bot" { Title "Battle Drones" Option "&1 Circuit Breaker" "petselectname Circuit Breaker" Option "&2 Fusebox" "petselectname Fusebox" Option "&3 Hot Wired" "petselectname Hot Wired" Divider Title "Protector Bots" Option "&4 Sofit Panel" "petselectname Sofit Panel" Option "&5 ProtBot 2" "petselectname ProtBot 2" Divider Title "Assault Bot" Option "&6 Assault Bot" "petselectname Assault Bot" } }
NUMPAD1 "petselect 3" NUMPAD2 "petselect 4" NUMPAD3 "petselect 5" NUMPAD4 "petselect 0" NUMPAD5 "petselect 1" NUMPAD6 "petselect 2"

[ ProTip: The banner is a link to art refs!! | The Khellection | The HBAS Repository | Brute Guides (4/16/10) | How To Post An Image - A Quick Guide ]
Biggest Troll on the forums? I'll give you a hint:

I can't seem to get this to work:
"targetcustomnear mypet$$powexec_name equip thugs"
I've tried many variations on this, targeting an enemy and using an attack power,
changing the order of the commands, doubling up both commands, nothing works.
The targeting part works, but the power never fires.
I have gotten it to work on a keybind using +$$ at the beginning to fire the commands off on press and release of the key, but for what I'm doing I need this to work on a macro.
Any thoughts or solutions greatly appreciated.