Script Function: Q58K

From Ultima Online: The Second Age
Revision as of 06:09, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q58K(<span style="color:#0000FF">obj</span> Q5AK, <span style="color:#0000FF">obj</span> Q...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q58K(obj Q5AK, obj Q68S, string Q68D)
 {
   if (Q4X6(Q5AK, Q68S))
   {
     if (Q4TL(Q5AK))
     {
       string Q5CQ = "Your ";
       concat(Q5CQ, Q68D);
       concat(Q5CQ, "'s age and its contents have been refreshed.");
       systemMessage(Q68S, Q5CQ);
       string Q5AS;
       getCurrentTimeStr(Q5AS);
       setObjVar(Q5AK, "refreshtime", Q5AS);
       return (0x01);
     }
   }
   return (0x00);
 }