I had a bitch of a time getting my pets targetted, especially if it was a Beastlord pet. Here is an excerpt from my a Cleric healbot macro that's been passed around here that works with pets. It is not a complete macro, it just shows you how to get your pets targetted as it cycles through your entire party to monitor everyone's health:
Sub Main
/echo Healbot started
/declare j int outer 0
/declare plee[6] string outer
/varset plee[1] "PlayertoonName1"
/varset plee[2] "PlayertoonName2"
/varset plee[3] "PlayertoonName3"
/varset plee[4] pc Beatlord
/varset plee[5] pet Beastlord
/varset plee[6] "Kabantik"
:loop
/if (${Me.Standing} && !${Me.Mount.ID}) /sit
/doevents
/if (${Me.PctHPs}<20) {
/call cast "Divine Barrier" gem7
}
/for j 1 to 6
/target ${plee[${j}]}
/if (${Target.PctHPs}<50) {
/call cast "Sacred Remedy" gem1 2s
}
/next j
/goto :loop
/return
OK, where it says PlayerToonName1, change that to the name of someone in your party. Say you have a Beastlord named Jones in your party, replace...
pc Beastlord
with
pc Jones
Also, change the line
/varset plee[5] pet Beastlord with
/varset plee[5] pet Jones ...just for example.
This will allow you to cycle through the entire party including both the Beastlord and the Beastlord's pet.
Now, I have tried to use the pet and then a player's name for my necro and mage pets, but it didn't work. Here is an example of what I triedwith a mage whom I shall call Hippy:
/varset plee[5] pet Hippy
For whatever reason, it never works for me. So, I have to manually change the varset name to the proper name of the mage's pet...like Goner, Kabantik, etc. So, it will look like this if the pet's name is Kabantik:
/varset plee[6] "Kabantik"
Yes, you need the quotes there...you need quotes for any proper name. No quotes are needed if you use pc TOON or pet TOON syntax.
OK, that is the overview of how you will need to change the macro to include your pet. I think the issue with beastlord pets is that they are not randomly generated...they are the Beastlord's first name then `s warder. Even when I tried to put "Beastlord`s warder" in the quotation marks, it didn't target the Beastlord pet. So, just use pet Beastlordsname when you have a Beastlord in your party and it will target his or her pet.
Good luck!