Difference between revisions of "Script Function: Q58K"

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> Q58K(<span style="color:#0000FF">obj</span> Q5AK, <span style="color:#0000FF">obj</span> Q...")
 
(No difference)

Latest revision as of 05:09, 12 October 2018

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