Skip Navigation.

NWE Help: MOO: Digging: Help

NWE Home :: Help :: MOO :: Digging

Adding help to the main help database

The main help database allows people to type
help object
And to get some basic help (object could also be a verb or property).

Adding help to the main help database (must be a wizard) and add a property to $help and then if people type in the words after $help, that help will appear:

@prop $help.newpropname {} r
@chown $help.newpropname to nonwizardname
@edit $help.newpropname

Add the message into the edit window, and you're done.

How to Put Help on an Object

  1. Create the help verbs verb and have it return an empty list

    @verb object:help_verbs this none this

  2. Program that verb to return an empty list (see #750:help_verbs for example).

    return {};

  3. Put property .help_text on the object.

    @prop object.help_text

  4. Edit .help_text to put in the help information.

    @edit object.help_text