Script Function: Q4RQ
From Ultima Online: The Second Age
function int Q4RQ(obj owner) { list goldOwnerList; getObjListVar(goldOwnerList, this, <span style="color:#800000">"goldOwnerList"</span>); int quantity = 0x00; for(int i = 0x00; i < numInList(goldOwnerList); i++) { obj Q4FL = goldOwnerList[i]; if (owner == Q4FL) { list goldQuantityList; getObjListVar(goldQuantityList, this, <span style="color:#800000">"goldQuantityList"</span>); quantity = goldQuantityList[i]; break; } } return (quantity); }