Difference between revisions of "Script Function: Q4CO"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">string</span> Q4CO(<span style="color:#0000FF">obj</span> this, <span style="color:#0000FF">list</spa...") |
(No difference)
|
Latest revision as of 22:24, 11 October 2018
function string Q4CO(obj this, list args) { string Q58D; int Q4QI; string name; list Q4CV = "payment", "reward", "pay", "give"; int i; if (!hasObjVar(this, "questReward")) { return (Q58D); } Q4QI = 0x00; for(i = 0x00; i < numInList(Q4CV); i++) { name = Q4CV[i]; if (isInList(args, name)) { Q4QI = 0x01; } } if (Q4QI) { Q58D = Q4RP(this) + " "; } return (Q58D); }