Re: [Newbie][Code] Stupid time problem: More Info

From: Dust (dustlos@hotmail.com)
Date: 04/30/01


 I forgot to include some junk in case it is needed, sorry for the extra
 email:

 in structs.h->
 #define TIME_DAWN    5
 #define TIME_DUSK    21


 in db.c ->

 Example of what I'm doing:
     case 'M':   /* read a mobile */
        if ((mob_index[ZCMD.arg1].number < ZCMD.arg2) && (number(1, 100) >=
 ZCMD.arg4) && (time_alright(ZCMD.arg5) == 1)) {
           mob = read_mobile(ZCMD.arg1, REAL);
    char_to_room(mob, ZCMD.arg3);
           load_mtrigger(mob);
           tmob = mob;
        last_cmd = 1;
           mob_load = TRUE;
       } else
  last_cmd = 0;
       tobj = NULL;
       break;

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST