/* This is a code that allows newbies to get hints about the mud and so on Written by Salem */ In act_comm.c under do_channels put this: send_to_char("hint ",ch); if (!IS_SET(ch->comm,COMM_NOHINT)) send_to_char("ON\n\r",ch); else send_to_char("OFF\n\r",ch); Put this anywhere in act_comm.c void do_hint( CHAR_DATA *ch, char *argument) { if(IS_NPC(ch)) return; if(IS_SET(ch->comm,COMM_NOHINT)) { REMOVE_BIT(ch->comm, COMM_NOHINT); send_to_char("Hint channel is now ON.\n\r",ch); return; } else { SET_BIT(ch->comm, COMM_NOHINT); send_to_char("Hint channel is now OFF.\n\r",ch); return; } } in handler.c under char *comm_bit_name put this somewhere near other definitions: if (comm_flags & COMM_NOHINT ) strcat(buf, " no_hint" ); In merc.h where the pulses are defined put this: define PULSE_HINT (30 * PULSE_PER_SECOND) Also in merc.h where the comms or define put this: #define COMM_NOHINT (K) /* Flag letter */ In update.c: put this with the other voids: void newbie_update args( ( void ) ); Then in update_handler put this at the top: static int pulse_hint; Then a little farther down put in the same function put this: if ( --pulse_hint <= 0) { pulse_hint = PULSE_HINT; hint_update ( ); } Put this somewhere near the bottom of update.c: void hint_update( void ) { CHAR_DATA *ch; CHAR_DATA *ch_next; for(ch=char_list;ch!=NULL;ch=ch_next) { ch_next = ch->next; if(!IS_NPC(ch) && !IS_SET(ch->comm, COMM_NOHINT)) { send_to_char("[HINT] ",ch); switch(number_range(0,10)) { default: send_to_char("Hint #1", ch); break; case 0: send_to_char("Hint #2",ch); break; case 1: send_to_char("Hint #3",ch); break; case 2: send_to_char("Hint #4",ch); break; case 3: send_to_char("Hint #5",ch); break; case 4: send_to_char("Hint #6",ch); break; case 5: send_to_char("Hint #7",ch); break; case 6: send_to_char("Hint #8",ch); break; case 7: send_to_char("Hint #9",ch); break; case 8: send_to_char("Hint #10",ch); break; case 9: send_to_char("Hint #11",ch); break; case 10: send_to_char("Hint #12",ch); break; } send_to_char("\n\r",ch); } } return; } /* Then your done sorry for the horrible instructions but anywayz email any comments or complaints to salem@limpbizkit.com