fix possible crash on user deletion
[srvx.git] / src / modcmd.help
index e3da2aa896dc32e225047b72012a393c5f193471..d21521843f3160c784657990a91cdb5f876a0d9e 100644 (file)
@@ -13,7 +13,7 @@
 "help" ("/msg $S HELP [command]",
         "Help will show you the information for the given command.",
         "All help files will use the same syntax, with optional parameters listed in [] and required parameters listed in <>.",
-        "To see what commands are available for use with $S, type /msg $S help index. For help on any specific command or topic, type /msg $S help help command.");
+        "To see what commands are available for use with $S, type /msg $S help commands. For help on any specific command or topic, type /msg $S help command.");
 "readhelp" ("/msg $S READHELP <module>",
         "Re-reads the module's help file from disk.",
         "$uSee Also:$u help");
         "Reports how long it takes to run the specified command.");
 "command" ("/msg $S COMMAND <command>", 
         "Shows the restrictions on who can use the named command (and how).");
-"modcmd" ("/msg $S MODCMD <command> <option> <newval> [additional option/value pairs..]",
-        "Changes the named option(s) for the specified command.  The command name may be prefixed with $bServiceNick.$b to specify another service's command (for example, $N.AUTH to refer to the auth command).",
+"modcmd" ("/msg $S MODCMD <command> [<option> <newval> ...]",
+        "Displays options for the specified command, or changes the options and values listed.  The command name may be prefixed with $bServiceNick.$b to specify another service's command (for example, $N.AUTH to refer to the auth command).",
         "Supported options are:",
         "  FLAGS          Comma-separated, +/- prefixed list of flags to add or remove.",
         "  CHANNEL_ACCESS Minimum ChanServ access.",
         "  OPER_ACCESS    Minimum OpServ access.",
-        "  ACCESS         Alias for OPER_ACCESS (if the value starts with a digit) or CHANNEL_ACCESS (if the value does not start with a digit).",
+        "  STAFF_ACCESS   Minimum staff level.",
         "  ACCOUNT_FLAGS  Account flags to require or deny (for example, +R-S)",
-        "  TEMPLATE       Command from which to inherit access restrictions",
-        "  WEIGHT         How much the command counts against the anti-flood policer",
-        "See the $bmodcmd flags$b entry for a list of supported flags.");
+        "See the $bmodcmd flags$b help entry for a list of supported flags.");
 "modcmd flags" ("The following flags are supported for commands:",
         "  ACCEPTCHAN     Treat a normal channel name (if specified) as the context for the command",
         "  ACCEPTPLUSCHAN Accept modeless channel names as well as normal channel names",
@@ -73,7 +71,7 @@
         "With only a service nick, shows the helpfiles used by that service.",
         "With a list of modules, sets the order that the service will look up non-command help entries.",
         "$uSee Also:$u bind, unbind");
-"service add" ("/msg $S SERVICE ADD <nick> <description>",
+"service add" ("/msg $S SERVICE ADD <nick> <hostname> <description>",
         "Creates a new service bot.",
         "$uSee Also:$u service rename, service trigger, service remove");
 "service rename" ("/msg $S SERVICE RENAME <oldnick> <newnick>",
@@ -87,8 +85,5 @@
 "service remove" ("/msg $S SERVICE REMOVE <nick> [<quit reason>]",
         "Destroys a service.  If a default service is named, it will be recreated when srvx restarts.",
         "$uSee Also:$u service add, service rename, service trigger");
-"set language" ("/msg $S set language <langname>",
-        "Sets the language that $S and other services will use when sending you messages.",
-        "If a particular message is not available in your language, it will use the closest match it has.",
-        "Supported languages are: ${languages}",
-        "$uSee Also:$u set");
+"version" ("/msg $S version",
+        "Sends you version and copyright information for this software.");