Difference between revisions of "Script Function: Q5ON"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q5ON(<span style="color:#0000FF">string</span> Q5OQ) { <span style="color:#0000FF">i...") |
|||
Line 9: | Line 9: | ||
<span style="color:#0000FF">return</span> (0x01); | <span style="color:#0000FF">return</span> (0x01); | ||
} | } | ||
− | <span style="color:#0000FF">if</span> (Q5OQ == <span style="color:#800000">" | + | <span style="color:#0000FF">if</span> (Q5OQ == <span style="color:#800000">"statfix"</span>) |
{ | { | ||
<span style="color:#0000FF">return</span> (0x01); | <span style="color:#0000FF">return</span> (0x01); |
Latest revision as of 05:55, 24 October 2018
function int Q5ON(string Q5OQ) { if (Q5OQ == "bounty") { return (0x01); } if (Q5OQ == "giftbag") { return (0x01); } if (Q5OQ == "statfix") { return (0x01); } if (Q5OQ == "amnesty3") { return (0x01); } if (Q5OQ == "amnesty4") { return (0x01); } if (Q5OQ == "guarded") { return (0x01); } if (Q5OQ == "counokay") { return (0x01); } if (Q5OQ == "info") { return (0x01); } return (0x00); }