MACRO petaggressive

Sets your pet to aggressive mode, instructing it to attack nearby mobs even without player action.
 /petaggressive
There were no aliases or arguments.
== Details ==
* /petaggressive's behavior was replaced by petassist in patch 4.2. In aggressive mode, the pet attacked any nearby mobs while you are standing still. If a pet attacks a PvP flagged unit in aggressive mode, it will not flag you or the pet PvP unless you give it additional attack commands (offensive pet spells included); however, a pet will not attack a PvP flagged unit unless it attacks first (will always be an NPC in this case).