* Reject durations containing invalid characters (like "1day" instead of "1d").
[srvx.git] / src / opserv.help
index 8998f74ba1ec3a45922137fdede14453693d2452..3e80b79134053213dc7a44135038f82441fb829d 100644 (file)
@@ -17,6 +17,7 @@
 "USER" ("$bUSER COMMANDS$b",
         "Search for, gives information on, and gives some control over IRC users.",
         "Alerts are a way to automatically detect (and optionally G-line) certain users.  For example, a \"gline info sub7server\" alert would G-line any users using \"sub7server\" as their full name (user info field).",
+        "  COMMAND  [MinAccess]",
         "  ACCESS   [${level/access}]",
         "  ADDALERT [${level/addalert}]",
         "  ADDTRUST [${level/addtrust}]",
@@ -30,9 +31,9 @@
 "ADDALERT" ("/msg $O ADDALERT <name> <reaction> <criteria>",
         "Adds the specified alert to the $b$O$b alert list.",
         "$uSee Also:$u delalert, alert reaction, trace criteria");
-"ADDTRUST" ("/msg $O ADDTRUST <ip> <number> <duration> <reason>",
+"ADDTRUST" ("/msg $O ADDTRUST <ip> <count> <duration> <reason>",
         "Allows the specified IP address to have the specified amount of clones before being removed (rather than the usual limit).",
-        "You may use 0 as the duration if you do not wish the trust to ever expire.",
+        "You may use 0 as the duration if you do not wish the trust to ever expire, and 0 as the count for unlimited connections.",
         "$uSee Also:$u deltrust, stats trusted");
 "ALERT REACTION" ("$bALERT REACTION$b",
         "Valid alert actions (to be taken when an alert is hit) are:",
@@ -93,6 +94,7 @@
         "  CHANNEL REACTIONS   - Automated reactions based on channel names",
         "  CHANNEL CONTROL     - Channel information and control",
         "There are also some miscellaneous channel-related commands:",
+        "  COMMAND  [MinAccess]",
         "  CHANINFO [${level/chaninfo}]",
         "  CSEARCH  [${level/csearch}]",
         "  JOIN     [${level/join}]",
 
 "CHANNEL REACTIONS" ("$bCHANNEL REACTION COMMANDS$b",
         "\"Bad-word\" channels are for assisting in enforcement of network policies (such as disallowing \"warez\" channels).  \"Warning\" channels are for channels which may be abused when they are present, but should be allowed otherwise.",
+        "  COMMAND  [MinAccess]",
         "  ADDBAD    [${level/addbad}]",
         "  ADDEXEMPT [${level/addexempt}]",
         "  DELBAD    [${level/delbad}]",
 
 "CHANNEL CONTROL" ("$bCHANNEL CONTROL COMMANDS$b",
         "These are analogous to the same (or similar) $C commands, but can be used on any channel.",
+        "  COMMAND    [MinAccess]",
         "  BAN        [${level/ban}]",
         "  CLEARBANS  [${level/clearbans}]",
         "  CLEARMODES [${level/clearmodes}]",
 
 "GLINES" ("$bGLINE COMMANDS$b",
         "Searches for, issues, and removes G-lines (network-global K-lines).",
+        "  COMMAND  [MinAccess]",
         "  BLOCK    [${level/block}]",
         "  GLINE    [${level/gline}]",
         "  GTRACE   [${level/gtrace}]",
         "  GSYNC    [${level/gsync}]",
         "  REFRESHG [${level/refreshg}]",
         "  UNGLINE  [${level/ungline}]");
-"BLOCK" ("/msg $O BLOCK <nick> [reason]",
-        "GLINES the host of the specified nick for one hour  If no reason is given, use a default reason.",
+"BLOCK" ("/msg $O BLOCK <nick> [duration] [reason]",
+        "GLINES the host of the specified nick for one hour if no duration is given.  If no reason is given, use a default reason.",
         "$uSee Also:$u gline, ungline");
 "GLINE" ("/msg $O GLINE <user@host> <duration> <reason>",
         "Issues a GLINE (network ban) on the network for the speicified user@host for the specified duration (making the expiration time: net time + duration).",
         "$bLIMIT$b count            Limits the number of matching glines.",
         "$bREASON$b reason          Looks for glines with the given reason.",
         "$bISSUER$b account         Looks for glines issued by the given account.",
+        "$bLASTMOD$b interval       Looks for glines last modified in the specified time.",
         "$bAFTER$b interval         Looks for glines that expire more than $binterval$b in the future.");
 "GSYNC" ("/msg $O GSYNC [server]",
        "Requests a list of GLINES from its uplink or the specified server.  This can be used in the event srvx is down for period and becomes desynced.",
 
 "CLONES" ("$bCLONE/JUPE COMMANDS$b",
         "Commands that add, remove or control fake (reserved) users or servers.",
+        "  COMMAND   [MinAccess]",
         "  CLONE     [${level/clone}]",
         "  COLLIDE   [${level/collide}]",
         "  JUPE      [${level/jupe}]",
 
 "LOGS" ("$bLOGGING COMMANDS$b",
         "Controls what goes into logs and searches them.",
+        "  COMMAND         [MinAccess]",
         "  LOG             [${level/log}]",
         "  REOPEN          [${level/reopen}]");
 "LOG" ("/msg $O LOG <criteria> <value> [<criteria> <value>]...",
 
 "RUNNING" ("$bRUNNING COMMANDS$b",
         "These commands control srvx's runtime state.",
+        "  COMMAND   [MinAccess]",
         "  DIE       [${level/die}]",
         "  JUMP      [${level/jump}]",
         "  RECONNECT [${level/reconnect}]",
 
 "SERVICES" ("$bSERVICES COMMANDS$b",
         "These commands control how other services behave.",
+        "  COMMAND    [MinAccess]",
         "  BANEMAIL   [${level/banemail}]",
         "  BIND       [${level/bind}]",
         "  GAG        [${level/gag}]",
 
 "OTHER" ("$bOTHER COMMANDS$b",
         "These commands do not easily fall into one of the other categories.",
+        "  COMMAND [MinAccess]",
         "  DUMP    [${level/dump}]",
         "  HELP    [${level/help}]",
         "  RAW     [${level/raw}]",