chiark / gitweb /
new trout+flirt from rjk
[irc.git] / servus.html
index 1e656ade52e79d80afa4720a6bf55c74685634bc..4c37a102d0bef773bacbb94e6b94046b0001b201 100644 (file)
@@ -57,6 +57,7 @@ class="code">~command</span>. Alternatively, you may pass commands by
 <li><a href="#slash">slash</a></li>
 <li><a href="#trout">trout</a></li>
 <li><a href="#units">units</a></li>
+<li><a href="#url">url</a></li>
 </ul>
 
 <hr />
@@ -91,7 +92,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/flirts</span> on rapun),
+class="code">/home/matthew/programming/irc/bot/flirts</span> on rapun),
 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
@@ -178,8 +179,8 @@ 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/slashes</span> on rapun),
-and substitutes "target1" for the first "%s" and "target2 for the
+class="code">/home/matthew/programming/irc/bot/slashes</span> on rapun),
+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
 of Servus stating who invoked it by adding "(while nick watches)" to
@@ -191,7 +192,7 @@ href="slashes">http://www.pick.ucam.org/~matthew/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/trouts</span> on rapun),
+class="code">/home/matthew/programming/irc/bot/trouts</span> on rapun),
 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
@@ -209,6 +210,18 @@ The first two will give the first value in terms of the second unit;
 the latter two forms convert the first value into SI units. This
 command is implemented by calling <span class="code">units(1)</span>.</p>
 
+<h3><a name="url">url</a></h3>
+<p>Servus now tracks URLs pasted into <span
+class="code">#chiark</span>, and will comment if you post a duplicate
+URL. The <span class="code">url</span> command provides a way for you
+to check if a URL has been posted before (if not, Servus posts it on
+your behalf). The syntax is:<br /> 
+<span class="code">/msg Servus url http://some.url</span><br />
+Servus will either paste the URL into channel, or <span
+class="code">/msg</span> you to tell you it was a duplicate. Although
+you can use this command in-channel (and get a response by <span
+class="code">/msg </span>), this is discouraged.</p>
+
 <hr />
 <address>
   <a href="mailto:matthew@sel.cam.ac.uk">Matthew Vernon</a><br />