]> git.donarmstrong.com Git - infobot.git/blobdiff - files/blootbot.help
md5 crypt
[infobot.git] / files / blootbot.help
index 99095f6eaa198222b301b10f4ab72445b48b01b0..8fdc24c758e795701a411ac9a60bd491ab9c943a 100644 (file)
@@ -1,12 +1,12 @@
-# Revised: 19991109.
-#  Author: xk
+# Revised: 20050224
+#  Author: Tim Riker <Tim@Rikers.org>
 ###
 
 main: I learn mainly by observing declarative statements such as "x is at http://www.xxx.com", and then reply when people ask things like "where can i find x?"
 
 action: This is used to override the usual response. "x is <action> does the hokey-pokey". When asked about x, the bot does this "* blootbot does the hokey-pokey"
 
-alternation: The || symbol in an entry causes an blootbot to choose one of the replies at random. "X is Y||Z" will produce "X is Y" or "X is Z" randomly. 
+alternation: The || symbol in an entry causes an blootbot to choose one of the replies at random. "X is Y||Z" will produce "X is Y" or "X is Z" randomly.
 
 author: oznoid (mailto:lenzo@ri.cmu.edu) is my original author.
 
@@ -32,11 +32,28 @@ dollar variables: $who         - nick of factoid requester
 corrections: If I come back with "...but x is at http://xx.xx.xx" or something like that, and you want to change the entry, use "no, x is at http://sdfsdfsdf".  The "No," tells me to supercede the existing value.
 corrections: you can append stuff to a factoid with "also". "x is also at ..."
 
+math: D: math expresions can be evaluated. This uses Perl syntax.
+math: E: 1+1
+math: + - add
+math: - - subtract
+math: * - multiply
+math: / - division
+math: ** - to the power
+math: pi - pi
+math: & - and
+math: | = or
+math: ^ - xor
+
 redirection: If a factoid x contains simply "<reply> see y", then when asked for x, I will deliver factoidor command result y instead.
 
-reply: There is a special tag, <reply>, that is used to override the usual response.  Usually, a response is "X is Y", but it can be made "Y" by making the entry "X is <reply> Y".  
+reply: There is a special tag, <reply>, that is used to override the usual response.  Usually, a response is "X is Y", but it can be made "Y" by making the entry "X is <reply> Y".
 
 # now the commands...
+
+adduser: D: Administrative command to add new user to the .users file
+adduser: U: ## <user> <mask>
+adduser: E: ## bloot bloot!bloot@example.com
+
 addressing: It is a good idea if I stay in REQUIRE mode so that I won't yell out random crap if I listen in too hard.  Currently there is no way to turn this off on-the-fly. (REQUIRE mode requires me to be addressed by name if I am to respond)
 
 babelfish: D: Frontend to babelfish translating service provided by http://babelfish.altavista.com/ Note that utf8 is used for non-ascii characters.
@@ -44,10 +61,36 @@ babelfish: U: x <fromLang> <toLang> <words>
 babelfish: U: translate <fromLang> <toLang> <words>
 babelfish: E: x en de your cars rock
 
+-ban: D: FIXME:
+-ban: U: ## <mask|user>
+-ban: E: ## *!*@owns.org
+-ban: E: ## MoronMan
+
++ban: D: FIXME:
++ban: U: ## <mask|user> [chan] [time] [reason]
++ban: E: ## *!*@owns.org #bots 60 stop flooding.
++ban: E: ## *!*@*microsoft.com STOOPID
++ban: E: ## MoronMan
+
+botmail: D: Send someone botmail
+botmail: U: ## {for <who>[:] <message>}|stats|check|read
+botmail: E: ## for infobot: you rock!
+botmail: E: ## stats
+botmail: E: ## check
+botmail: E: ## read
+
+-chan: D: Leave a channel permanently
+-chan: U: ## -#channel
+-chan: E: ## -#botpark
+
++chan: D: Join a channel permanently
++chan: U: ## #channel
++chan: E: ## #botpark
+
 chaninfo: D: Display channel statistics on Op, Ban, Deop, Unban, Part, Join, SignOff, PublicMsg, Kick and Topic
 chaninfo: U: ## [#channel]
 chaninfo: E: ##
-chaninfo: E: ## #debian
+chaninfo: E: ## #botpark
 
 chanset: D: set a variable for a channel
 chanset: U: ## [#chan] [what] [val]
@@ -61,7 +104,7 @@ chanunset: U: ## <#chan> [what]
 chanunset: E: ## #c
 chanunset: E: ## #c test
 
-chattr: D: Change flags on a user
+chattr: D: Change flags on a user (see @regFlagsUser in source)
 chattr: U: ## <user> [flags]
 chattr: E: ## bloot +nmo
 chattr: E: ## bloot -ot
@@ -89,11 +132,12 @@ cpustats: cpustats dumps the bot's cpu usage this session
 crypt: It's good that you thought about encryption. I can do it for you.
 crypt: U: ## <salt> <string>
 crypt: E: ## 69 changeme
+crypt: E: ## $1$abcde changeme
 
 cycle: D: Causes me to cycle in the channel it's said, or in the named channel
 cycle: U: ## [channel]
 cycle: E: ##
-cycle: E: ## #debian-bots
+cycle: E: ## #botpark
 
 dauthor: D: Find Debian package maintainers, and list the packages they maintain
 dauthor: U: ## <string> [dist]
@@ -103,21 +147,33 @@ dauthor: E: ## Wichert potato
 dbugs: D: Show the current count of release critical bugs (latest versions)
 dbugs: U: ##
 
+deluser: D: Administrative command to remove a user from the .users file
+deluser: U: ## <user>
+deluser: E: ## bloot
+
 ddesc: D: Search the Description: lines in Debian packages
 ddesc: U: ## <string> [dist]
 ddesc: E: ## mule
 ddesc: E: ## mule potato
 
-dict: D: DICT Protocol Client
-dict: U: ## <query>
-dict: E: ## AI
-dict: E: ## 1 linux
-
 dfind: D: Debian Packages (fallback to Contents) search
 dfind: U: ## <string> [dist]
 dfind: E: ## strings.h
 dfind: E: ## x11amp potato
 
+dict: D: DICT Protocol Client - likely dicts: elements web1913 wn gazetteer jargon foldoc easton hitchcock devils world02 vera
+dict: U: ## [entry num] <query>[/dict]
+dict: E: ## linux
+dict: E: ## 33 set/wn
+
+dns: D: Query DNS
+dns: U: ## <host|ip>
+dns: E: ## debian.org
+dns: E: ## 3.1.33.7
+
+do: D: operator command to do things in a channel
+do: U: ## <chan> <what>
+
 dstats: D: Show basic stats on the current size of the Debian distros
 dstats: U: ## [dist]
 dstats: E: ##
@@ -160,11 +216,19 @@ hex: D: Convert ascii to hex
 hex: U: ## <string>
 hex: E: ## carrot
 
+httpdtype: D: Get httpd server software version / configuration
+httpdtype: U: ## <hostname>
+httpdtype: E: ## example.com
+
+ignore: D: ignore list management
+ignore: E: ## [mask chan expire comment]
+ignore: E: addignore guu!*@*
+
 ircstats: ircstats dumps some status information on the bot's IRC connection
 
 join: U: ## <#chan> [key]
-join: E: ## #debian
-join: E: ## #debian rules
+join: E: ## #botpark
+join: E: ## #botpark rules
 
 karma: Karma is a community rating system.  Use "X++" to increase the karma, or "X--" to decrease it.  Ask for ratings using "karma for X?"
 
@@ -173,7 +237,7 @@ kernel: U: ##
 
 kick: U: ## <nick> [#chan] [message]
 kick: E: ## oznoid
-kick: E: ## larne #debian
+kick: E: ## larne #botpark
 kick: E: ## john #foo go away!
 
 lart: D: Luser Attitude Readjustment Tool
@@ -193,8 +257,8 @@ listvalues: D: Search the factoid database by value (description)
 listvalues: U: ## <regex>
 listvalues: E: ## blootbot
 
-literal: used to get a raw factoid contents
-literal: U: ## <factoid>
+literal: used to get a raw factoid contents. Use _default to ignore factoidSearch path.
+literal: U: ## [_default|prefix] <factoid>
 literal: E: ## blootbot
 
 lobotomy: I can be given a lobotomy ([o] is required) if people start to abuse me.  To bring me back to life, give me an unlobotomy
@@ -207,8 +271,8 @@ lock: N: Requires factoid extension (extra) support enabled.
 
 mode: set modes for a channel
 mode: U: ## <#chan> <mode>
-mode: E: ## #debian +t
-mode: E: ## #debian -i
+mode: E: ## #botpark +t
+mode: E: ## #botpark -i
 
 news: D: News functions
 news: U: ## [chan] <add,del,mod,set,latest,read,help>
@@ -247,22 +311,26 @@ news mod: E: news mod test s/test/Test/g
 nickometer: D: Measures the lame-ness of a nick or channel
 nickometer: U: ## {nick,channel}
 nickometer: E: ## unknown_lamer
-nickometer: E: ## #debian-bots
-
-nslookup: D: Query DNS
-nslookup: U: ## <host|ip>
-nslookup: E: ## debian.org
-nslookup: E: ## 3.1.33.7
+nickometer: E: ## #botpark
 
 ord: D: Convert ascii to decimal
 ord: U: ## <single character>
 ord: E: ## c
 
+page: D: Send someone a pager message
+page: U: ## <who> <message>
+page: E: ## infobot you rock!
+page: NOTE: this uses the "<who>'s pager" factoids for the From: and To: addresses of the format "example's pager" is "mailto:me@example.com"
+
 part: D: Leave a channel (DCC only)
 part: U: ## <#channel>
-part: E: ## #debian
+part: E: ## #botpark
 part: NOTE: /kick is an alternative
 
+piglatin: D: translates english text into piglatin
+piglatin: U: ## <string>
+piglatin: E: ## When will blootbot achieve world domination?
+
 quote: D: Frontend to yahoo's online stock market share listing
 quote: U: ## <query...>
 quote: E: ## RHAT,MSFT
@@ -271,10 +339,17 @@ rename: D: Factoid renaming
 rename: U: ## 'from' 'to'
 rename: E: ## 'infobot' 'blootbot'
 
-rot13: D: ROT13's the given string
+rot13: D: ROT13's a given string
 rot13: U: ## <string>
 rot13: E: ## guvf vf n ynzr rknzcyr
 
+say: D: operator command to say things in a channel
+say: U: ## <chan> <what>
+
+scramble: D: scrambles a given string
+scramble: U: ## <string>
+scramble: E: ## When will blootbot achieve world domination?
+
 search: U: ## <engine> for <string>
 search: E: ## google for blootbot
 
@@ -290,9 +365,9 @@ spell: You've guessed it right, I'm a spell checker. Give me any word and I can
 status: status dumps general status information
 
 tell: D: Tell someone about a factoid or command
-tell: U: tell <who> -?about <what>
-tell: E: tell me about blootbot
-tell: E: tell someone -about testing
+tell: U: ## <who> -?about <what>
+tell: E: ## me about blootbot
+tell: E: ## someone -about testing
 
 topic add: D: Add your own topic
 topic add: U: ## <topic>
@@ -306,8 +381,8 @@ topic del: E: ## last
 
 topic mod: D: Search and replace strings in the topic
 topic mod: U: ## <REGEX>
-topic mod: E: s/test/TEST/
-topic mod: E: s#msg test#/msg test#g
+topic mod: E: ## s/test/TEST/
+topic mod: E: ## s#msg test#/msg test#g
 
 topic mv: D: Move subtopics around.
 topic mv: U: ## <#> <before|after|swap> <#>
@@ -352,23 +427,22 @@ uptime: U: ##
 
 wantnick: If someone's taken my nick (I hope not) and I'm using some temporary nick, I can change back to my original nick if it's not taken (again).
 
--ban: D: FIXME.
--ban: U: ## <mask|user>
--ban: E: ## *!*@owns.org
--ban: E: ## MoronMan
+wikipedia: D: Frontend to the Wikipedia at http://www.wikipedia.org/wiki/ Note that utf8 is used for non-ascii characters.
+wikipedia: U: ## <topic>
+wikipedia: U: wiki <topic>
+wikipedia: E: wiki irc
 
--host: D: FIXME.
+wtf: D: Interface to the BSD wtf command
+wtf: U: ## <abbreviation>
+wtf: E: ## iirc
+
+-host: D: admin command to remove hostmask from a user account
 -host: U: ## [user] <mask>
 -host: E: ## *!*@owns.org
 -host: E: ## owner leet!leet@*.heh.org
 
-+ban: D: FIXME.
-+ban: U: ## <mask|user> [chan] [time] [reason]
-+ban: E: ## *!*@owns.org #bots 60 stop flooding.
-+ban: E: ## *!*@*microsoft.com STOOPID
-+ban: E: ## MoronMan
-
-+host: D: FIXME.
-+host: U: ## [user] <mask>
++host: D: admin command to list or add hostmasks to a user account
++host: U: ## [user] [<mask>]
++host: E: ## owner
 +host: E: ## *!*@owns.org
 +host: E: ## owner leet!leet@*.heh.org