Script Function: Q56V

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q56V(obj recipient, string Q56R, list args)
 {
   if (isValid(recipient))
   {
     message(recipient, Q56R, args);
     return ();
   }
   obj Q4DT = createNoResObjectAt(0x01, getLocation(this));
   setObjVar(Q4DT, "recipient", recipient);
   attachScript(Q4DT, "comprobe");
   prependToList(args, Q56R);
   message(Q4DT, "addMessage", args);
   int Q4Q1 = teleport(Q4DT, getRelayLoc(recipient));
   clearList(args);
   if (isValid(Q4DT))
   {
     message(Q4DT, "teleported", args);
   }
   return ();
 }