Script Function: Q55L
From Ultima Online: The Second Age
function obj Q55L(obj guard, obj killer) { obj Q58D; obj Q4QI; obj Q47Z = findClosestBBoard(getLocation(guard)); list Q4E4; int Q55K = 0x00; int blah; string Q4GQ; int Q463; getContents(Q4E4, Q47Z); int Q55T = numInList(Q4E4); for(int i = 0x00; i < Q55T; i++) { Q58D = Q4E4[i]; if (getObjType(Q58D) == 0x0EB0) { if (0x00) { blah = getResource(Q463, Q58D, "gold", 0x03, 0x02); Q4GQ = Q463; bark(guard, "Message has " + Q4GQ + " gold reward."); } if (hasObjVar(Q58D, "killer")) { Q4QI = getObjVar(Q58D, "killer"); if (killer == Q4QI) { if (0x00) { bark(guard, "Posting for " + getName(killer) + " found!"); blah = getResource(Q463, Q58D, "gold", 0x03, 0x02); Q4GQ = Q463; bark(guard, "Message has " + Q4GQ + " gold reward."); } return (Q58D); } } } } return (NULL()); }