Permalink
Browse files

'help helpfile2' fixes. Closes #1282

  • Loading branch information...
shawnw committed Feb 4, 2019
1 parent 08ba0b8 commit fe8c10b6eee7de0f95b55b56bfd409c77767b22e
Showing with 6 additions and 6 deletions.
  1. +6 −6 game/txt/hlp/penntop.hlp
@@ -45,18 +45,18 @@ This is the index to the MUSH online help files.
To add more categories and commands (like 'news'), read "game/txt/README"

See also: textfile(), textentries(), textsearch()
& help helpfile2
& helpfile2
& help query
Displays help entries that match <pattern>. If the /brief switch is given, only shows the names of matching entries. Without it, also shows a fragment of the entry with matches underlined.
Displays help entries that match <pattern> using an advanced full text search. If the /brief switch is given, only shows the names of matching entries. Without it, also shows a fragment of the entry with matches underlined.

The pattern is one or more phrases, where each phrase is one or more words (enclosed with quote marks if there's more than one word, or searching for a word with characters like @ or +). A * at the end treats the phrase as a prefix. Phrases can be combined with AND (The default), OR and NOT. The function NEAR(phrase phrase...) matches entries where two or more phrases are near each other. An optional second argument controls how close the matching is. All these operators must appear in upper case. For full details, see https://www.sqlite.org/fts5.html#full_text_query_syntax

Examples:

help/search cosine OR tangent
help/search "treated as"
help/search NEAR(player wizard, 20)
help/search "@attrib"*
help/query cosine OR tangent
help/query "treated as"
help/query NEAR(player wizard, 20)
help/query "@attrib"*
& newbie
If you are new to MUSHing, the help files may seem confusing. Most of them are written in a specific style, however, and once you understand it the files are extremely helpful.

0 comments on commit fe8c10b

Please sign in to comment.