Script Function: Q5KM

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q5KM(obj user, obj target, string Q676)
 {
   if (!hasObjVar(target, Q676))
   {
     return ();
   }
   string Q58D = Q676 + ": ";
   obj Q4G3 = getObjVar(target, Q676);
   if (!isValid(Q4G3))
   {
     concat(Q58D, "(" + objtoint(Q4G3) + "), ");
   }
   else
   {
     concat(Q58D, getName(Q4G3) + ", ");
   }
   systemMessage(user, Q58D);
   return ();
 }