Difference between revisions of "Script Function: Q45W"

From Ultima Online: The Second Age
Jump to: navigation, search
(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<...")
 
(No difference)

Latest revision as of 05:15, 12 October 2018

 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 ();
 }