X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?p=irc.git;a=blobdiff_plain;f=servus.html;h=5088b2c2a2a5180bb8dccc157aabe90ab7d111a5;hp=8f30e65cdee127b4d1730355d5cfc15028a48fcb;hb=d42a82c0485385bdf45649d00444f40f7ed7d281;hpb=d34f97f8b0b8b8a6cadc2e7567e720f79ba3c83e diff --git a/servus.html b/servus.html index 8f30e65..5088b2c 100644 --- a/servus.html +++ b/servus.html @@ -1,7 +1,7 @@ + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> @@ -25,7 +25,7 @@ span.code {font-family: courier, monospace} class="code">#chiark. This page documents the available commands. You can get a copy of the source code by running git-clone http://www.pick.ucam.org/~matthew/irc/.git

+href="http://www.chiark.greenend.org.uk/~matthewv/irc/.git">http://www.chiark.greenend.org.uk/~matthewv/irc/.git

Invocation

Servus may be invoked in-channel using either ~command. Alternatively, you may pass commands by

Commands


+

define

+

This command returns (either on-channel or by /msg) a definition of the argument(s) of the +"define" command. This is done by using a "define:" query on +google, so the results may be a little unusual at times...

+

die

This command must be invoked by /msg only, and is only effective if invoked by the bot's owner. The bot @@ -84,14 +93,14 @@ class="code">slash).

The syntax is:
flirt target
Servus picks a flirt at random from the flirts list (/home/matthew/programming/irc/flirts on rapun), +class="code">/home/matthew/programming/irc/bot/flirts on rapun), 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 admirer)" to the end of the flirt. Further suggestions for flirts should be submitted by email; a list of current flirts may be found online at http://www.pick.ucam.org/~matthew/irc/flirts.

+href="flirts">http://www.chiark.greenend.org.uk/~matthewv/irc/flirts.

google

This command returns (either on-channel or by

The syntax is:
slash target1 / target2
Servus picks a slash at random from the slashes list (/home/matthew/programming/irc/slashes on rapun), -and substitutes "target1" for the first "%s" and "target2 for the +class="code">/home/matthew/programming/irc/bot/slashes 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 /msg, there is a 10% chance of Servus stating who invoked it by adding "(while nick watches)" to the end of the slash. Further suggestions for slashes should be submitted by email; a list of current slashes may be found online at http://www.pick.ucam.org/~matthew/irc/slashes.

+href="slashes">http://www.chiark.greenend.org.uk/~matthewv/irc/slashes.

trout

The syntax is:
trout target
Servus picks a trout at random from the trouts list (/home/matthew/programming/irc/trouts on rapun), +class="code">/home/matthew/programming/irc/bot/trouts on rapun), 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 nick)" to the end of the trout. Further suggestions for trouts should be submitted by email; a list of current trouts may be found online at -http://www.pick.ucam.org/~matthew/irc/trouts.

+http://www.chiark.greenend.org.uk/~matthewv/irc/trouts.

+ +

twit

+

The syntax is:
twit twitter-url
Servus returns (either on-channel or by /msg) the content +of the tweet and the twitter user who posted it.

units

The syntax is:
units(1).

+

url

+

Servus now tracks URLs pasted into #chiark, and will comment if you post a duplicate +URL. The url 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:
+/msg Servus url http://some.url
+Servus will either paste the URL into channel, or /msg you to tell you it was a duplicate. Although +you can use this command in-channel (and get a response by /msg ), this is discouraged. Servus also +understands nsfw:// +and nsfws:// URLs, and knows they are an +obfuscation of the relevant http:// +or https:// URL for URLs that are not +work-safe. You can make your firefox understand nsfw:// URLS by visiting http://www.chiark.greenend.org.uk/~owend/nsfw.html.

+
- Matthew Vernon
- Cambridge, England + Matthew Vernon
+ Coventry, England