Script Function: Q4RK

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