MACRO summonpet

Summons the specified battle pet. /summonpet [options] petNameOrGUID

Usage
This command accepts secure command options. The clause values specify which favorite pet to summon:
 * If you have a pet with the specified name, it will be summoned.
 * If you have a pet with the specified GUID, it will be summoned.

Conditional targeting may be used, but is essentially irrelevant. /summonpet [@pet,dead]Ashmaw Cub for instance will only summon that pet if the Hunter's pet is dead (pointless, I know, but it IS processed).