Difference between revisions of "Script Function: Q5MA"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q5MA(<span style="color:#0000FF">list</span> Q5AG) { <span style="color:#0000FF">int...")
 
(No difference)

Latest revision as of 15:25, 12 October 2018

 function int Q5MA(list Q5AG)
 {
   int Q4NB = 0x00;
   list Q4EB;
   copyList(Q4EB, Q5AG);
   clearList(Q5AG);
   obj it;
   int num = numInList(Q4EB);
   for(int i = 0x00; i < num; i++)
   {
     it = Q4EB[i];
     if (isInList(Q5AG, it))
     {
       Q4NB++;
     }
     else
     {
       appendToList(Q5AG, it);
     }
   }
   return (Q4NB);
 }