Initial import (again)
[srvx.git] / src / modcmd.help
1 "bind" ("/msg $S BIND <service> <bindname> <command> [additional args..]",
2         "Binds (adds) a command to an existing service.  $bbindname$b is the name of the new command for the service.  $bcommand$b may be one of:",
3         "  CommandName              To refer to a command on the same service.",
4         "  ServiceNick.CommandName  To refer to a command bound on a different service.",
5         "  *ModuleName.CommandName  To bind a command directly from a module (note the asterisk before the module name).",
6         "  *ModuleName.*            To bind all commands from the named module.",
7         "For simplicity, you cannot bind to a command that is itself an alias.  Certain commands will not bound with the last form; you must bind them by name.",
8         "(A command binding is very similar to an alias, but only pays the speed penalty for alias expansion when there are additional arguments in the binding.)",
9         "$uSee also:$u unbind");
10 "commands" "${index}";
11 "god" ("/msg $C GOD [on|off]",
12         "Toggles security override, which grants you complete access to all channels. Please use carefully.");
13 "help" ("/msg $S HELP [command]",
14         "Help will show you the information for the given command.",
15         "All help files will use the same syntax, with optional parameters listed in [] and required parameters listed in <>.",
16         "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.");
17 "readhelp" ("/msg $S READHELP <module>",
18         "Re-reads the module's help file from disk.",
19         "$uSee Also:$u help");
20 "unbind" ("/msg $S UNBIND <service> <command>",
21         "Unbinds a command from a service, so that it is no longer accessible.",
22         "Some commands (such as $bauth$b and $bbind$b) will not let you unbind their last binding -- for obvious reasons.",
23         "$uSee Also:$u bind");
24 "timecmd" ("/msg $S TIMECMD <command and args>",
25         "Reports how long it takes to run the specified command.");
26 "command" ("/msg $S COMMAND <command>", 
27         "Shows the restrictions on who can use the named command (and how).");
28 "modcmd" ("/msg $S MODCMD <command> <option> <newval> [additional option/value pairs..]",
29         "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).",
30         "Supported options are:",
31         "  FLAGS          Comma-separated, +/- prefixed list of flags to add or remove.",
32         "  CHANNEL_ACCESS Minimum ChanServ access.",
33         "  OPER_ACCESS    Minimum OpServ access.",
34         "  ACCESS         Alias for OPER_ACCESS (if the value starts with a digit) or CHANNEL_ACCESS (if the value does not start with a digit).",
35         "  ACCOUNT_FLAGS  Account flags to require or deny (for example, +R-S)",
36         "  TEMPLATE       Command from which to inherit access restrictions",
37         "  WEIGHT         How much the command counts against the anti-flood policer",
38         "See the $bmodcmd flags$b entry for a list of supported flags.");
39 "modcmd flags" ("The following flags are supported for commands:",
40         "  ACCEPTCHAN     Treat a normal channel name (if specified) as the context for the command",
41         "  ACCEPTPLUSCHAN Accept modeless channel names as well as normal channel names",
42         "  AUTHED         Require that the user be authed to use the command",
43         "  CHANNEL        Require that an existing channel be given as the context",
44         "  CHANUSER       Require that the user have $C access to the context",
45         "  DISABLED       Command is disabled",
46         "  HELPING        Require that the user have security override enabled",
47         "  IGNORE_CSUSPEND  Allow a +REGCHAN command to work even if the channel is suspended",
48         "  JOINABLE       Require that the user have $C access to the channel, be in the channel, or be network staff to use the command",
49         "  KEEPBOUND      Do not let the last instance of the command be removed",
50         "  LOGHOSTMASK    Log the user's ident, hostname and IP (as well as nick and account name)",
51         "  NOLOG          Do not log the command at all",
52         "  NETWORKHELPER  Allow network helpers to use the command",
53         "  OPER           Allow opers to use the command",
54         "  QUALIFIED      Require $b/msg Service@$s$b addressing when using the command",
55         "  REGCHAN        Require a registered channel to be give as the context",
56         "  SUPPORTHELPER  Allow support helpers to use the command",
57         "  TOY            Command is a toy (cannot be invoked on a channel from outside the channel)",
58         "Note: If any of SUPPORTHELPER, NETWORKHELPER, OPER, any of the specified flags is considered sufficient.  For example, NETWORKHELPER and OPER both specified means both network helpers and opers can use the command.");
59 "joiner" ("/msg $S JOINER [subcmd ...]",
60         "Magically looks up subcommands and redirects to them.  Use the command by itself to see what subcommands are known.");
61 "stats modules" ("/msg $S STATS MODULES [modulename]",
62         "With no module name argument, shows a list of loaded modules and brief statistics for each.",
63         "When a module name is given, shows commands exported by that module.",
64         "$uSee Also:$u stats services, command, modcmd, bind");
65 "stats services" ("/msg $S STATS SERVICES [botnick]",
66         "With no bot nick argument, shows a list of the service bots using the unified command framework, and brief statistics for each.",
67         "When a bot nick is given, shows commands bound to that service.",
68         "$uSee Also:$u stats modules, command, modcmd, bind, unbind");
69 "showcommands" ("/msg $S SHOWCOMMANDS [opserv-access] [channel-access]",
70         "Shows commands which you can execute (with their required access levels).  If you give a numeric $O access level or text $C access name, it further restricts output to only show commands which can be executed by users with that access.",
71         "$uSee Also:$u command");
72 "helpfiles" ("/msg $S HELPFILES <service> [module list]",
73         "With only a service nick, shows the helpfiles used by that service.",
74         "With a list of modules, sets the order that the service will look up non-command help entries.",
75         "$uSee Also:$u bind, unbind");
76 "service add" ("/msg $S SERVICE ADD <nick> <description>",
77         "Creates a new service bot.",
78         "$uSee Also:$u service rename, service trigger, service remove");
79 "service rename" ("/msg $S SERVICE RENAME <oldnick> <newnick>",
80         "Renames a service bot.  Currently does not support the default services.",
81         "$uSee Also:$u service add, service trigger, service remove");
82 "service trigger" ("/msg $S SERVICE TRIGGER <nick> [remove|<trigger>]",
83         "Sets or clears the trigger character that the named service uses to identify in-channel messages directed at it.",
84         "To remove a trigger, use the word $bremove$b (or $bnone$b) as the argument.  Otherwise, the first letter of the argument will be used as the new trigger.",
85         "If no argument is given, shows the current trigger for the service.",
86         "$uSee Also:$u service add, service rename, service remove");
87 "service remove" ("/msg $S SERVICE REMOVE <nick> [<quit reason>]",
88         "Destroys a service.  If a default service is named, it will be recreated when srvx restarts.",
89         "$uSee Also:$u service add, service rename, service trigger");
90 "set language" ("/msg $S set language <langname>",
91         "Sets the language that $S and other services will use when sending you messages.",
92         "If a particular message is not available in your language, it will use the closest match it has.",
93         "Supported languages are: ${languages}",
94         "$uSee Also:$u set");