Script Function: Q4JA

From Ultima Online: The Second Age
Revision as of 16:23, 12 October 2018 by Grimoric (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q4JA(obj it)
 {
   if (hasScript(it, "counokay2"))
   {
     detachScript(it, "decounselor2");
     return ();
   }
   num++;
   if (num > 0x03)
   {
     systemMessage(it, "Your counselor status has been removed.");
     doSCommand(it, "ucoun me");
     detachScript(it, "decounselor2");
   }
   else
   {
     systemMessage(it, "All counselors are being unmade.  You can log in " + (0x03 - num) + " more times");
     systemMessage(it, "without renewing until your counselor status is removed.");
     systemMessage(it, "To continue being a Counselor, please re-apply to the web page");
     systemMessage(it, "under Help and Guidance / Playguide / Counselors.");
   }
   return ();
 }
 function void Q4JA(obj it)
 {
   if (hasScript(it, "counokay"))
   {
     detachScript(it, "decounselor");
     return ();
   }
   num++;
   if (num > 0x03)
   {
     systemMessage(it, "Your counselor status has been removed.");
     doSCommand(it, "ucoun me");
     detachScript(it, "decounselor");
   }
   else
   {
     systemMessage(it, "All counselors are being unmade.  You can log in " + (0x03 - num) + " more times");
     systemMessage(it, "without renewing until your counselor status is removed.");
     systemMessage(it, "To continue being a Counselor, please re-apply to the web page");
     systemMessage(it, "under Help and Guidance / Playguide / Counselors.");
   }
   return ();
 }