Introduction
Account Policies
Problem Solving
Instructor Help
General help by subject
Hypertext and the web
Remote access
Contact NWE Help
Main help page
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
- Create the help verbs verb and have it return an empty list
@verb object:help_verbs this none this
- Program that verb to return an empty list (see #750:help_verbs for
example).
return {};
- Put property .help_text on the object.
@prop object.help_text
- Edit .help_text to put in the help information.
@edit object.help_text
