]> git.donarmstrong.com Git - infobot.git/blobdiff - files/blootbot.help
ircPasswd docs
[infobot.git] / files / blootbot.help
index 99095f6eaa198222b301b10f4ab72445b48b01b0..d96e51c2ce47d9cc4934715ae2ef1fd49c3f5764 100644 (file)
@@ -6,7 +6,7 @@ main: I learn mainly by observing declarative statements such as "x is at http:/
 
 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,9 +32,21 @@ 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...
 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)
@@ -44,10 +56,29 @@ 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
+
+-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 +92,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
@@ -93,7 +124,7 @@ crypt: E: ## 69 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]
@@ -160,11 +191,18 @@ 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: FIXME:
+ignore: E: ## [mask chan expire comment]
+
 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 +211,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
@@ -207,8 +245,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,7 +285,7 @@ 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
+nickometer: E: ## #botpark
 
 nslookup: D: Query DNS
 nslookup: U: ## <host|ip>
@@ -260,7 +298,7 @@ ord: E: ## c
 
 part: D: Leave a channel (DCC only)
 part: U: ## <#channel>
-part: E: ## #debian
+part: E: ## #botpark
 part: NOTE: /kick is an alternative
 
 quote: D: Frontend to yahoo's online stock market share listing
@@ -352,23 +390,12 @@ 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
-
--host: D: FIXME.
+-host: D: FIXME:
 -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: D: FIXME:
 +host: U: ## [user] <mask>
 +host: E: ## *!*@owns.org
 +host: E: ## owner leet!leet@*.heh.org