Script Function: Q5MA

From Ultima Online: The Second Age
Revision as of 15:25, 12 October 2018 by Grimoric (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 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);
 }