Re: dg scripts 'time' variable

From: Angus Mezick (amezick@edgil.com)
Date: 03/15/99


go into dg_scripts.c and look for the string '"time"'
then add this:
         else
            *str = '\0';
+        return;
         }
      else if (!str_cmp(var, "random"))

--Angus





Mark Ip <MIP@CHAT.CARLETON.CA> on 03/14/99 04:14:01 AM

Please respond to Circle Discussion List <CIRCLE@post.queensu.ca>



 To:      CIRCLE@post.queensu.ca

 cc:      (bcc: Angus Mezick/Edgil)



 Subject:  dg scripts 'time' variable









I seem to be having trouble with using the time variable. When I try to
assign the current hour to a variable, I use %time.hour% but it doesn't
seem to recognise the variable and then doesn't assign a number. Anyone
have a script snippet that successfully uses the time variable?


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST