Script Function: Q5KN

From Ultima Online: The Second Age
Revision as of 22:10, 11 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q5KN(<span style="color:#0000FF">obj</span> user, <span style="color:#0000FF">obj</span>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 ();
 }