16 Jul, 2011, arholly wrote in the 1st comment:
Votes: 0
I implemented this bit of code to do the standard "what am I missing in my help files" bit, but I actually want to understand it and eventually tweak it.
/* In act_info.c, as part of void do_help, define: */

char nohelp[MAX_STRING_LENGTH];

/* Then, at the beginning of the function, add: */

strcpy(nohelp, argument);

/* Change if(!found) to: */

send_to_char("No help on that word.\n\r", ch);
append_file( ch, HELP_FILE, nohelp );

The output is something like <character name> <room number> <missing help file>. How is it creating that?

Best Regards,
16 Jul, 2011, plamzi wrote in the 2nd comment:
Votes: 0
The rest of the picture would be in your "append_file" function. The snippet you've shown is alerting that function every time someone hasn't found help on a keyword they typed. I'm assuming that it is that function which logs enough information about the event for you to know if you should add such a help file or if the user simply mistyped.
16 Jul, 2011, arholly wrote in the 3rd comment:
Votes: 0
Thanks for explaining. I figured it out in the append_file. Thanks for pointing me in the right direction.