But how do I do this with battle pets? I want to link the specific pet I have with breed, level, rarity etc. How can I get that item link and use it in a macro?
EDIT:
This also applies to items with ilvl upgrades or sockets/stats like leech. Is there a function get the item string of your item (or caged pet) while mouseovering it or something?
I used macro like yours before and got curious how far we can take this so I googled some stuff.
I didnt found how to link mouseover items, but found how to link items from bags, so you can work with that.
/run SendChatMessage(“WTS “…(GetContainerItemLink(0, 1))…”!!!”,“CHANNEL”,nil,2)
That works if the item is in the bags. I usually have all the items up on AH at the same time while trying to sell them on trade chat for a little bit cheaper.
So in this case that unfortunately doesn’t help much