Add the following to your Makefile
O_FILES = act_comm.o act_info.o act_move.o act_obj.o act_wiz.o boards.o \
          build.o clans.o comm.o comments.o const.o db.o deity.o fight.o \
          .......
          hint.o
          
C_FILES = act_comm.c act_info.c act_move.c act_obj.c act_wiz.c boards.c \
          build.c clans.c comm.c comments.c const.c db.c deity.c fight.c \
          --------
          hint.c
          
          
add this somewhere in mud.h
#include hint.h

locate the PCFLAGS section and add the following
#define PCFLAG_HINT     BVxx 
(where xx is an unused BV)


in db.c, look for
        log_string( "Loading corpses" );
        load_corpses( );
        log_string ("Loading Immortal Hosts");
        load_imm_host();

and add
        log_string ("Loading HINTS");
        load_hint();

in update.c, look for the following
void    time_update     args( ( void ) );       /* FB */
void    char_update     args( ( void ) );

and add
void    hint_update     args( ( void ) );


search for 
        time_update     ( );
        weather_update  ( );

and add 
        hint_update     ( );
        

then add this to the bottom (or wherever you'd like) in the file
void hint_update()
{
        DESCRIPTOR_DATA *d; 
        
        if (time_info.hour % 1 == 0)
        {
            for(d = first_descriptor; d; d = d->next)
            {
                if(d->connected == CON_PLAYING &&
                IS_AWAKE(d->character))
                {
                        if (IS_SET(d->character->pcdata->flags, PCFLAG_HINT))
                            ch_printf(d->character,"&W[HINT]&* %s\n\r",get_hint(d->character->level));
                }
            }
        }
        return;
}

in tables.c, search for
       if ( !str_cmp( name, "do_hl" ))                 return do_hl;
       if ( !str_cmp( name, "do_hlist" ))              return do_hlist; 
then add
       if ( !str_cmp( name, "do_hint"))                 return do_hint;
       
search for 
if ( skill == do_hl )          return "do_hl";
if ( skill == do_hlist )               return "do_hlist";
then add
if ( skill == do_hint)          return "do_hint";

in act_info.c, under do_config add the possibility to toggle the hint flag on and off 
(I'll leave this one up to you)





do a make clean and restart the mud. Once restarted, you need to create the hint command by
using cedit hint create
adjust the level to your likings, this is only available for immortals.
and remember to do cedit save cmdtable

You should now be able to create hints for your mortals and immortals to show up at the frequency 
defined in HINT_UPDATEFREQ, this is counted in hours (game hours, not real life).

Always remember to save your hints after you have edited/created them. They will load at boottime.





