Script Function: Q5KN

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q5KN(obj user, obj target, string Q539)
 {
   if (!hasObjVar(target, Q539))
   {
     return ();
   }
   string Q58D = Q539 + ": ";
   list Q5FC;
   getObjListVar(Q5FC, target, Q539);
   for(int i = 0x00; i < numInList(Q5FC); i++)
   {
     obj Q4G3 = Q5FC[i];
     if (!isValid(Q5FC[i]))
     {
       concat(Q58D, "(" + objtoint(Q4G3) + "), ");
     }
     else
     {
       concat(Q58D, getName(Q4G3) + ", ");
     }
   }
   systemMessage(user, Q58D);
   return ();
 }