chiark / gitweb /
new trout from jtn & ceb https://www.theguardian.com/world/2020/sep/04/rare-sturgeon...
[irc.git] / servus.html
old mode 100755 (executable)
new mode 100644 (file)
index b96a258..e823410
@@ -23,7 +23,7 @@ span.code {font-family: courier, monospace}
 <h2>Introduction</h2>
 <p>Servus is one of the IRC bots on <span
 class="code">#chiark</span>. This page documents the available
-commands. You can get a copy of the source code by running <span
+commands.<br /> You can get a copy of the source code by running <span
 class="code">git-clone <a
 href="http://www.chiark.greenend.org.uk/~matthewv/irc/.git">http://www.chiark.greenend.org.uk/~matthewv/irc/.git</a></span>,
 or via <span class="code">gitweb</span> at <a href="http://www.chiark.greenend.org.uk/ucgi/~matthewv/git/irc.git/">http://www.chiark.greenend.org.uk/ucgi/~matthewv/git/irc.git/</a>.</p>
@@ -74,13 +74,18 @@ class="code">~command</span>. Alternatively, you may pass commands by
 <span class="code">blame #trouts text</span><br />or:<br />
 <span class="code">blame #flirts text</span><br />or:<br />
 <span class="code">blame #slashes text</span><br />or:<br />
-<span class="code">blame #last</span><br />
+<span class="code">blame #last</span><br />or:<br />
+<span class="code">blame #last 2</span><br />
 The first form will search for <span class="code">text</span> in the
       trouts, flirts, and slashes lists, and return information on
       when the relevant item was added, and by whom. The next three
-      forms restrict the search to the specified list. The last form
-      is a special case that searches for the last trout, flirt, or
-      slash that Servus emitted.</p>
+      forms (<span class="code">#trouts</span>,
+      <span class="code">#flirts</span>,
+      <span class="code">#slashes</span>) restrict the search to the
+      specified list. <span class="code">#last</span> is a special
+      case that searches for the last trout, flirt, or slash that
+      Servus emitted. <span class="code">#last 2</span> searches for
+      the last-but-one utterance; the last ten are remembered.</p>
 
 <h3><a name="currency">currency</a></h3>
 <p>The syntax is:<br />
@@ -119,7 +124,7 @@ class="code">slash</span>).</p>
 <p>The syntax is:<br /> <span
 class="code">flirt target</span><br /> Servus picks a flirt at random
 from the flirts list (<span
-class="code">/home/matthew/programming/irc/bot/flirts</span> on rapun),
+class="code">/u2/matthewv/programming/irc/flirts</span> on chiark),
 and substitutes "target" for "%s" in the flirt line. If this command
 is invoked by <span class="code">/msg</span>, there is a 10% chance
 of Servus stating who invoked it by adding "(but nick is their secret
@@ -214,7 +219,7 @@ in output to the channel of the form:<br />
 <p>The syntax is:<br /> <span
 class="code">slash target1 / target2 </span><br /> Servus picks a slash at random
 from the slashes list (<span
-class="code">/home/matthew/programming/irc/bot/slashes</span> on rapun),
+class="code">/u2/matthewv/programming/irc/slashes</span> on chiark),
 and substitutes "target1" for the first "%s" and "target2" for the
 second "%s" in the slash line. If this command
 is invoked by <span class="code">/msg</span>, there is a 10% chance
@@ -227,7 +232,7 @@ href="slashes">http://www.chiark.greenend.org.uk/~matthewv/irc/slashes</a>.</p>
 <p>The syntax is:<br /> <span
 class="code">trout target</span><br /> Servus picks a trout at random
 from the trouts list (<span
-class="code">/home/matthew/programming/irc/bot/trouts</span> on rapun),
+class="code">/u2/matthewv/programming/irc/trouts</span> on chiark),
 and substitutes "target" for "%s" in the trout line. If this command
 is invoked by <span class="code">/msg</span>, there is a 10% chance
 of Servus stating who invoked it by adding "(at the instigation of
@@ -273,7 +278,7 @@ href="http://www.chiark.greenend.org.uk/~owend/free/nsfw/">http://www.chiark.gre
 <hr />
 <address>
   <a href="mailto:matthewv@chiark.greenend.org.uk">Matthew Vernon</a><br />
-  Coventry, England
+  Cambridge, England
 </address>
  <p>
 <a href="http://validator.w3.org/check/referer"><img