Script Function: Q45W

From Ultima Online: The Second Age
Revision as of 05:15, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q45W(<span style="color:#0000FF">obj</span> Q4GA) { <span style="color:#0000FF">if<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q45W(obj Q4GA)
 {
   if (isInList(Q5HU, Q4GA))
   {
     for(int Q623 = 0x00; Q623 < numInList(Q5HU); Q623++)
     {
       obj Q67B = Q5HU[Q623];
       if (Q4GA == Q67B)
       {
         return ();
       }
     }
   }
   else
   {
     appendToList(Q5HU, Q4GA);
   }
   if (numInList(Q5HU) > 0x04)
   {
     removeItem(Q5HU, 0x05);
   }
   return ();
 }