These commands control your pets:
/pet guard : If you use the command /pet guard, you will get a chat message: "guarding", but if you are being attacked the pet will not automatically protect you. You will have to use the command /pet guard again, after you have been attacked, to get it to protect you (or the /pet attack command of course).
/pet hunt : Use the command and the pet will start hunting for you. After it has made it's first kill (if it survives of course), it will continue it's search for a new target. It will sometimes run a bit back and forth. One problem is that it sometimes hunts in the water, or just walks out in the water and keeps walking.
/Pet follow : Makes the pet follow the owner. If you send a pet out on a hunt, and after some time use the command "follow" it will return to you, but it will not walk straight towards you at all times.
/pet rename : Gives the pet a new name (/pet rename fido will give the pet the name fido).
/pet behind : Makes the pet withdraw from the attack, and get out of the range of weapons.
/Pet suicide : The pet will destroy itself.Now /pet terminate --LP
There is only one pet allowed at a time. These commands are obsolete
/pet
Also, if you have more than one pet, you can use commands like: /pet all guard or /pet all attack.