Script Function: Q5QW

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q5QW(obj sender, obj speaker, string arg)
 {
   if (!Q431())
   {
     return (0x00);
   }
   list Q5QZ;
   appendToList(Q5QZ, speaker);
   string Q5R1 = getName(speaker);
   appendToList(Q5QZ, Q5R1);
   int Q5UG = getDefaultTextHue(speaker);
   appendToList(Q5QZ, Q5UG);
   appendToList(Q5QZ, arg);
   int num = numInList(Q535);
   int Q4EJ;
   for(Q4EJ = 0x00; Q4EJ < num; Q4EJ++)
   {
     obj Q5R3 = Q535[Q4EJ];
     multimessage(Q5R3, "comspeech", Q5QZ);
     if (Q580((0x00 - 0x01)) == 0x00)
     {
       Q63I(speaker, sender);
       break;
     }
   }
   return (Q4EJ);
 }