X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?a=blobdiff_plain;ds=sidebyside;f=servus.html;h=efd8fa305cc8c5f4b2aea0b94a9dd5f8dafe8fe0;hb=6c0861ddd674f1ad2df07365629bdf4c38aaa87f;hp=89606a2aef5ccee59c5df2ec1a59cc084a8bad35;hpb=dfbffe47482613fd515dfdc8e1425a9b9b8cbf54;p=irc.git diff --git a/servus.html b/servus.html index 89606a2..efd8fa3 100644 --- a/servus.html +++ b/servus.html @@ -23,7 +23,7 @@ span.code {font-family: courier, monospace}
Servus is one of the IRC bots on #chiark. This page documents the available -commands. You can get a copy of the source code by running You can get a copy of the source code by running git-clone http://www.chiark.greenend.org.uk/~matthewv/irc/.git, or via gitweb at http://www.chiark.greenend.org.uk/ucgi/~matthewv/git/irc.git/.
@@ -38,6 +38,8 @@ class="code">~command. Alternatively, you may pass commands byThe syntax is:
+blame text
or:
+blame #trouts text
or:
+blame #flirts text
or:
+blame #slashes text
or:
+blame #last
+The first form will search for text 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.
The syntax is:
+currency curr1 as curr2
+This will give the first currency in terms of the second
+ currency. Currencies must be specified using their standard currency
+ code. The currency conversion is performed using xe.com's
+ currency converter.
This command no longer works, as google have broken 'define'-style searches; it will return an error message if invoked.
@@ -94,7 +119,7 @@ class="code">slash).The syntax is:
flirt target
Servus picks a flirt at random
from the flirts list (/home/matthew/programming/irc/bot/flirts on rapun),
+class="code">/u2/matthewv/programming/irc/flirts on chiark),
and substitutes "target" for "%s" in the flirt line. If this command
is invoked by /msg, there is a 10% chance
of Servus stating who invoked it by adding "(but nick is their secret
@@ -189,7 +214,7 @@ in output to the channel of the form:
The syntax is:
slash target1 / target2
Servus picks a slash at random
from the slashes list (/home/matthew/programming/irc/bot/slashes on rapun),
+class="code">/u2/matthewv/programming/irc/slashes 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 /msg, there is a 10% chance
@@ -202,7 +227,7 @@ href="slashes">http://www.chiark.greenend.org.uk/~matthewv/irc/slashes.
The syntax is:
trout target
Servus picks a trout at random
from the trouts list (/home/matthew/programming/irc/bot/trouts on rapun),
+class="code">/u2/matthewv/programming/irc/trouts on chiark),
and substitutes "target" for "%s" in the trout line. If this command
is invoked by /msg, there is a 10% chance
of Servus stating who invoked it by adding "(at the instigation of
@@ -248,7 +273,7 @@ href="http://www.chiark.greenend.org.uk/~owend/free/nsfw/">http://www.chiark.gre