Difference between revisions of "Script Function: Q56L"

From Ultima Online: The Second Age
Jump to: navigation, search
(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>...")
 
(No difference)

Latest revision as of 15:11, 12 October 2018

 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);
 }