Script Function: Q557

From Ultima Online: The Second Age
Revision as of 18:54, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q557(<span style="color:#0000FF">string</span> Q4Y5, <span style="color:#0000FF">list</sp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q557(string Q4Y5, list Q4YF)
 {
   int count;
   int Q5EJ = numInList(Q4YF);
   for(count = 0x00; count < Q5EJ; count++)
   {
     string Q5ZE = Q4YF[count];
     if (count == (Q5EJ - 0x01))
     {
       Q4Y5 = Q4Y5 + Q5ZE;
     }
     if (count == (Q5EJ - 0x02))
     {
       Q4Y5 = Q4Y5 + Q5ZE + " and ";
     }
     if (count < (Q5EJ - 0x02))
     {
       Q4Y5 = Q4Y5 + Q5ZE + ", ";
     }
   }
   return ();
 }