Script Function: Q4TJ
From Ultima Online: The Second Age
function obj Q4TJ() { obj Q63O = getTopmostContainer(this); if (Q63O == NULL()) { return (NULL()); } if (!hasScript(Q63O, <span style="color:#800000">"vendor"</span>)) { return (NULL()); } return (Q63O); } //// http://wiki.uot2a.com/index.php?action=edit&title=cleanup function void cleanup() { if (isContainer(this)) { list Q4E4; getContents(Q4E4, this); while(numInList(Q4E4)) { list args; message(Q4E4[0x00], <span style="color:#800000">"cleanup"</span>, args); removeItem(Q4E4, 0x00); } } removeObjVar(this, <span style="color:#800000">"vendedOwner"</span>); removeObjVar(this, <span style="color:#800000">"vendedPrice"</span>); removeObjVar(this, <span style="color:#800000">"description"</span>); detachScript(this, <span style="color:#800000">"vended"</span>); return (); }