Script Function: Q45W

From Ultima Online: The Second Age
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 ();
 }