DalekenMUD 1.12 documentation.
Updated 7 June 2000.

MUD Program Triggers

This file explains how to add a new trigger to the Mud Program system.

All you have to do is to follow these simple steps...

  1. Add the appropriate global prototypes to function.h
  2. Add the appropriate #define XXXXX_PROG to const.h
  3. Write a trigger procedure at the end of mud_prog.c
  4. Add calls to the trigger procedure at the right place
  5. Add a new line to the mud_prog_flags table in bit.c

There you have it, a new trigger for your Mud Programs.