Script Function: Q56L

From Ultima Online: The Second Age
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);
 }