Coder Tips - luciensadi/AwakeMUD GitHub Wiki
Do your research first.
Test often.
You can apply the line mudlog("insert message here", NULL, LOG_MISCLOG, TRUE); to anywhere in your if-statements to check to see where in the logic your new function or action is crashing.