Script Function: Q4MU

From Ultima Online: The Second Age
Revision as of 03:43, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4MU(<span style="color:#0000FF">obj</span> user, <span style="color:#0000FF">int</span>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q4MU(obj user, int Q4NC)
 {
   obj Q5F4;
   obj Q69F;
   list Q5FH;
   int Q51J;
   if (hasScript(Q62D, "remincognito"))
   {
     list Q5DR;
     message(Q62D, "undoincognito", Q5DR);
   }
   for(int x = 0x01; x < 0x11; x++)
   {
     Q5F4 = getItemAtSlot(Q62D, x);
     if (isValid(Q5F4))
     {
       debugMessage("removing items");
       Q51J = putObjContainer(Q5F4, Q62D);
       appendToList(Q5FH, Q5F4);
       setObjVar(Q5F4, "objSlot", x);
       if (!Q51J)
       {
         debugMessage("item stacker error");
       }
     }
   }
   setObjVar(user, "notMyItems", Q5FH);
   attachScript(user, "polychec");
   callback(user, Q4NC, 0x14)return();
 }