Script Function: Q5IH

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q5IH(obj Q68S, obj item, string Q56O)
 {
   obj Q5HA = getBackpack(Q68S);
   string Q5AI = Q56O;
   if (isValid(Q5HA) && canHold(Q5HA, item))
   {
     concat(Q5AI, " in your backpack.");
     int Q527 = putObjContainer(item, Q5HA);
   }
   else
   {
     concat(Q5AI, " at your feet.");
   }
   systemMessage(Q68S, Q5AI);
   return ();
 }
 function void Q5IH(obj Q68S, obj item, string Q56O)
 {
   obj Q5HA = getBackpack(Q68S);
   string Q5AI = Q56O;
   if (isValid(Q5HA) && canHold(Q5HA, item))
   {
     concat(Q5AI, " in your backpack.");
     int Q527 = putObjContainer(item, Q5HA);
   }
   else
   {
     concat(Q5AI, " at your feet.");
   }
   systemMessage(Q68S, Q5AI);
   return ();
 }