Currently I'm using this macro which cages all pets:
Anyone know how do I skip caging pets which are set as favorite and also skip caging pets which are in battle slots?Code:/run local p,j={},C_PetJournal for i=1,j.GetNumPets() do p={j.GetPetInfoByIndex(i)} if p[16] and p[1] then j.CagePetByID(p[1]) return end end