Difference between revisions of "Script Function: Q4CH"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4CH(<span style="color:#0000FF">obj</span> this, <span style="color:#0000FF">list</span>...") |
(No difference)
|
Latest revision as of 14:36, 12 October 2018
function int Q4CH(obj this, list args) { int Q4QI = 0x00; if (isInList(args, getName(this))) { Q4QI = 0x01; } if (isShopkeeper(this)) { if (isInList(args, "shopkeep")) { Q4QI = 0x01; } if (isInList(args, "shopkeeper")) { Q4QI = 0x01; } if (isInList(args, "merchant")) { Q4QI = 0x01; } if (isInList(args, "vendor")) { Q4QI = 0x01; } if (isInList(args, "vender")) { Q4QI = 0x01; } } if (isGuard(this)) { if (isInList(args, "guard")) { Q4QI = 0x01; } } return (Q4QI); }