<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><title>Python: cmd_misc</title> </head><body bgcolor="#f0f0f8"> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> <tr bgcolor="#7799ee"> <td valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>cmd_misc</strong></big></big></font></td ><td align=right valign=bottom ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/mud/nakedmud-mod/lib/pymodules/cmd_misc.py">/mud/nakedmud-mod/lib/pymodules/cmd_misc.py</a></font></td></tr></table> <p><tt>cmd_misc.c<br> <br> a collection of miscellaneous commands that come with NakedMud(tm)</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#aa55cc"> <td colspan=3 valign=bottom> <br> <font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="event.html">event</a><br> </td><td width="25%" valign=top><a href="hooks.html">hooks</a><br> </td><td width="25%" valign=top><a href="mud.html">mud</a><br> </td><td width="25%" valign=top><a href="mudsys.html">mudsys</a><br> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#eeaa77"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> <td width="100%"><dl><dt><strong>chk_can_save</strong> <em>lambda</em> ch, cmd</dt></dl> <dl><dt><a name="-cmd_clear"><strong>cmd_clear</strong></a>(ch, cmd, arg)</dt><dd><tt>This command will clear your display screen.</tt></dd></dl> <dl><dt><a name="-cmd_delay"><strong>cmd_delay</strong></a>(ch, cmd, arg)</dt><dd><tt>Usage: delay <seconds> <command><br> <br> Allows the user to prepare a command to be executed in the future. For<br> example:<br> <br> > delay 2 say hello, world!<br> <br> Will make you say 'hello, world!' two seconds after entering the<br> delayed command.</tt></dd></dl> <dl><dt><a name="-cmd_motd"><strong>cmd_motd</strong></a>(ch, cmd, arg)</dt><dd><tt>This command will display to you the mud's message of the day.</tt></dd></dl> <dl><dt><a name="-cmd_quit"><strong>cmd_quit</strong></a>(ch, cmd, arg)</dt><dd><tt>Attempts to save and log out of the game.</tt></dd></dl> <dl><dt><a name="-cmd_save"><strong>cmd_save</strong></a>(ch, cmd, arg)</dt><dd><tt>Attempt to save your character and all recent changes made to it, to<br> disk. This automatically happens when logging out.</tt></dd></dl> <dl><dt><a name="-cmd_stop"><strong>cmd_stop</strong></a>(ch, cmd, arg)</dt><dd><tt>If you are currently performing an action (for example, a delayed<br> command), make an attempt to stop performing that action.</tt></dd></dl> <dl><dt><a name="-event_delayed_cmd"><strong>event_delayed_cmd</strong></a>(ch, filler, cmd)</dt><dd><tt>used to perform delayed commands</tt></dd></dl> </td></tr></table> </body></html>