<html> <head> <title>MUD Program Triggers</title> <link rel="stylesheet" type="text/css" href="doc.css" title="Documentation Standard Style"> </head> <body bgcolor="#ffffff"> <table class="main" width="600" border="0"> <tr><td> <div align="right"> DalekenMUD 1.12 documentation. <br>Updated 7 June 2000. </div> </td></tr> <tr><th class="heading"> <h1>MUD Program Triggers</h1> </th></tr> <tr><td> <p>This file explains how to add a new trigger to the Mud Program system.</p> <p>All you have to do is to follow these simple steps...</p> <ol> <li>Add the appropriate global prototypes to <code>function.h</code></li> <li>Add the appropriate <code>#define XXXXX_PROG</code> to <code>const.h</code></li> <li>Write a trigger procedure at the end of <code>mud_prog.c</code></li> <li>Add calls to the trigger procedure at the right place</li> <li>Add a new line to the <code>mud_prog_flags</code> table in <code>bit.c</code></li> </ol> <p>There you have it, a new trigger for your Mud Programs.</p> </td></tr> </table> </body> </html>