Returns the time remaining before a temporary pet is automatically dismissed. Temporary pets include priests' Shadowfriend, mages' Water Elemental, and various quest-related pets.
See also Pet functions.
Signature:
petTimeRemaining = GetPetTimeRemaining()
Returns:
petTimeRemaining- Amount of time remaining until the temporary pet is automatically dismissed (in seconds), or nil if the player does not have a temporary pet (number)