Difference between revisions of "Script: Bountykillcount"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">trigger</span> creation { <span style="color:#0000FF">if</span> (!<span style="color:#FF0000;font-weight:bold">hasObjVar</span>(...") |
(No difference)
|
Latest revision as of 01:10, 6 October 2018
trigger creation { if (!hasObjVar(this, "killcount")) { bark(this, "No kills are tallied on this person."); detachScript(this, "bountykillcount"); } int x; list Q51M; getObjListVar(Q51M, this, "killcount"); x = numInList(Q51M); string blah = x; bark(this, "There are " + blah + " kills reported on this character."); if (hasScript(this, "bountymark")) { bark(this, "There is a bounty outstanding as well."); } detachScript(this, "bountykillcount"); return (0x01); }