UO.RenamePet(nid, sname)
UO.RenamePet command changes the name of the pet id nid to the name specified by the string sname.
UO.Popup