cmd_misc.html 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html><head><title>Python: cmd_misc</title>
  3. </head><body bgcolor="#f0f0f8">
  4. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
  5. <tr bgcolor="#7799ee">
  6. <td valign=bottom>&nbsp;<br>
  7. <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>cmd_misc</strong></big></big></font></td
  8. ><td align=right valign=bottom
  9. ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/Users/hollis/Desktop/nakedmud/lib/pymodules/cmd_misc.py">/Users/hollis/Desktop/nakedmud/lib/pymodules/cmd_misc.py</a></font></td></tr></table>
  10. <p><tt>cmd_misc.c<br>
  11. &nbsp;<br>
  12. a&nbsp;collection&nbsp;of&nbsp;miscellaneous&nbsp;commands&nbsp;that&nbsp;come&nbsp;with&nbsp;NakedMud(tm)</tt></p>
  13. <p>
  14. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  15. <tr bgcolor="#aa55cc">
  16. <td colspan=3 valign=bottom>&nbsp;<br>
  17. <font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
  18. <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  19. <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="event.html">event</a><br>
  20. </td><td width="25%" valign=top><a href="hooks.html">hooks</a><br>
  21. </td><td width="25%" valign=top><a href="mud.html">mud</a><br>
  22. </td><td width="25%" valign=top><a href="mudsys.html">mudsys</a><br>
  23. </td></tr></table></td></tr></table><p>
  24. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  25. <tr bgcolor="#eeaa77">
  26. <td colspan=3 valign=bottom>&nbsp;<br>
  27. <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
  28. <tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  29. <td width="100%"><dl><dt><strong>chk_can_save</strong> <em>lambda</em> ch, cmd</dt></dl>
  30. <dl><dt><a name="-cmd_clear"><strong>cmd_clear</strong></a>(ch, cmd, arg)</dt><dd><tt>This&nbsp;command&nbsp;will&nbsp;clear&nbsp;your&nbsp;display&nbsp;screen.</tt></dd></dl>
  31. <dl><dt><a name="-cmd_delay"><strong>cmd_delay</strong></a>(ch, cmd, arg)</dt><dd><tt>Usage:&nbsp;delay&nbsp;&lt;seconds&gt;&nbsp;&lt;command&gt;<br>
  32. &nbsp;<br>
  33. Allows&nbsp;the&nbsp;user&nbsp;to&nbsp;prepare&nbsp;a&nbsp;command&nbsp;to&nbsp;be&nbsp;executed&nbsp;in&nbsp;the&nbsp;future.&nbsp;For<br>
  34. example:<br>
  35. &nbsp;<br>
  36. &gt;&nbsp;delay&nbsp;2&nbsp;say&nbsp;hello,&nbsp;world!<br>
  37. &nbsp;<br>
  38. Will&nbsp;make&nbsp;you&nbsp;say&nbsp;'hello,&nbsp;world!'&nbsp;two&nbsp;seconds&nbsp;after&nbsp;entering&nbsp;the<br>
  39. delayed&nbsp;command.</tt></dd></dl>
  40. <dl><dt><a name="-cmd_motd"><strong>cmd_motd</strong></a>(ch, cmd, arg)</dt><dd><tt>This&nbsp;command&nbsp;will&nbsp;display&nbsp;to&nbsp;you&nbsp;the&nbsp;mud's&nbsp;message&nbsp;of&nbsp;the&nbsp;day.</tt></dd></dl>
  41. <dl><dt><a name="-cmd_quit"><strong>cmd_quit</strong></a>(ch, cmd, arg)</dt><dd><tt>Attempts&nbsp;to&nbsp;save&nbsp;and&nbsp;log&nbsp;out&nbsp;of&nbsp;the&nbsp;game.</tt></dd></dl>
  42. <dl><dt><a name="-cmd_save"><strong>cmd_save</strong></a>(ch, cmd, arg)</dt><dd><tt>Attempt&nbsp;to&nbsp;save&nbsp;your&nbsp;character&nbsp;and&nbsp;all&nbsp;recent&nbsp;changes&nbsp;made&nbsp;to&nbsp;it,&nbsp;to<br>
  43. disk.&nbsp;This&nbsp;automatically&nbsp;happens&nbsp;when&nbsp;logging&nbsp;out.</tt></dd></dl>
  44. <dl><dt><a name="-cmd_stop"><strong>cmd_stop</strong></a>(ch, cmd, arg)</dt><dd><tt>If&nbsp;you&nbsp;are&nbsp;currently&nbsp;performing&nbsp;an&nbsp;action&nbsp;(for&nbsp;example,&nbsp;a&nbsp;delayed<br>
  45. command),&nbsp;make&nbsp;an&nbsp;attempt&nbsp;to&nbsp;stop&nbsp;performing&nbsp;that&nbsp;action.</tt></dd></dl>
  46. <dl><dt><a name="-event_delayed_cmd"><strong>event_delayed_cmd</strong></a>(ch, filler, cmd)</dt><dd><tt>used&nbsp;to&nbsp;perform&nbsp;delayed&nbsp;commands</tt></dd></dl>
  47. </td></tr></table>
  48. </body></html>