Script Function: Q458
From Ultima Online: The Second Age
function void Q458(obj pet, obj Q5CJ) { list myBoss; if (!hasObjListVar(pet, "myBoss")) { setObjVar(pet, "myBoss", myBoss); } getObjListVar(myBoss, pet, "myBoss"); if (!isInList(myBoss, Q5CJ)) { appendToList(myBoss, Q5CJ); } setObjVar(pet, "myBoss", myBoss); return (); }