Script Function: Q56L

From Ultima Online: The Second Age
Revision as of 15:11, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q56L(<span style="color:#0000FF">obj</span> player, <span style="color:#0000FF">int</span>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q56L(obj player, int Q65M)
 {
   string Q5OM = Q4RU(Q65M);
   if (Q5OM == "")
   {
     return (0x01);
   }
   list args;
   if (hasScript(player, Q5OM))
   {
     message(player, "checkGuildRequirements", args);
   }
   else
   {
     attachScript(player, Q5OM);
     message(player, "checkGuildRequirements", args);
     detachScript(player, Q5OM);
   }
   int Q56Y = getObjVar(player, "metGuildRequirements");
   removeObjVar(player, "metGuildRequirements");
   return (Q56Y);
 }