Script Function: Q4RK

From Ultima Online: The Second Age
Revision as of 05:14, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4RK(<span style="color:#0000FF">string</span> Q46O) { <span style="color:#0000FF">l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4RK(string Q46O)
 {
   list Q46P = "city_britain", "city_bucden", "city_jhelom", "city_magincia", "city_minoc", "city_moonglow", "city_ocllo", "city_serphold", "city_skara", "city_trinsic", "city_vesper", "city_yew";
   string name;
   int Q53A = numInList(Q46P);
   for(int i = 0x00; i < Q53A; i++)
   {
     name = Q46P[i];
     if (Q46O == name)
     {
       string Q5X8 = i;
       return (i);
     }
   }
   return (0x029A);
 }