2 # Author: Tim Riker <Tim@Rikers.org>
6 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?"
8 action: This is used to override the usual response. "x is <action> does the hokey-pokey". When asked about x, the bot does this "* infobot does the hokey-pokey"
10 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)
12 alternation: The || symbol in an entry causes an infobot to choose one of the replies at random. "X is Y||Z" will produce "X is Y" or "X is Z" randomly.
14 author: oznoid (mailto:lenzo@ri.cmu.edu) is my original author.
16 babelfish: D: Frontend to babelfish translating service provided by http://babelfish.altavista.com/ Note that utf8 is used for non-ascii characters.
17 babelfish: U: x <fromLang> <toLang> <words>
18 babelfish: U: translate <fromLang> <toLang> <words>
19 babelfish: E: x en de your cars rock
22 bandel: U: ## <mask|user>
23 bandel: E: ## *!*@owns.org
24 bandel: E: ## MoronMan
27 banadd: U: ## <mask|user> [chan] [time] [reason]
28 banadd: E: ## *!*@owns.org #bots 60 stop flooding.
29 banadd: E: ## *!*@*microsoft.com STOOPID
30 banadd: E: ## MoronMan
32 botmail: D: Send someone botmail
33 botmail: U: ## {for <who>[:] <message>}|stats|check|read
34 botmail: E: ## for infobot: you rock!
39 chanadd: D: Join a channel permanently
40 chanadd: U: ## #channel
41 chanadd: E: ## #botpark
43 chandel: D: Leave a channel permanently
44 chandel: U: ## -#channel
45 chandel: E: ## -#botpark
47 chaninfo: D: Display channel statistics on Op, Ban, Deop, Unban, Part, Join, SignOff, PublicMsg, Kick and Topic
48 chaninfo: U: ## [#channel]
50 chaninfo: E: ## #botpark
52 chanset: D: set a variable for a channel
53 chanset: U: ## [#chan] [what] [val]
54 chanset: E: ## #c +test
55 chanset: E: ## #c -test
56 chanset: E: ## #c test
57 chanset: E: ## #c test 0
58 chanset: E: ## #c test testing123
60 chanunset: D: remove a variable from a channel
61 chanunset: U: ## <#chan> [what]
63 chanunset: E: ## #c test
65 chattr: D: Change flags on a user (see "help flags")
66 chattr: U: ## <user> [flags]
67 chattr: E: ## bloot +nmo
68 chattr: E: ## bloot -ot
71 chnick: D: rename a nick (user) entry
72 chnick: U: ## [nick] <new-nick>
74 chnick: E: ## owner eleet
76 chpass: D: Change a user's password
77 chpass: U: ## [user] <pass>
79 chpass: E: ## testing test0R
81 contents: D: Debian Contents search only (no Packages)
82 contents: U: ## <string> [dist]
83 contents: E: ## strings.h
84 contents: E: ## x11amp potato
86 cookie: I can feed your appetite with random factoids.
88 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.
89 corrections: you can append stuff to a factoid with "also". "x is also at ..."
91 cpustats: cpustats dumps the bot's cpu usage this session
93 crypt: It's good that you thought about encryption. I can do it for you.
94 crypt: U: ## <salt> <string>
95 crypt: E: ## 69 changeme
96 crypt: E: ## $1$abcde changeme
98 cycle: D: Causes me to cycle in the channel it's said, or in the named channel
99 cycle: U: ## [channel]
101 cycle: E: ## #botpark
103 dauthor: D: Find Debian package maintainers, and list the packages they maintain
104 dauthor: U: ## <string> [dist]
105 dauthor: E: ## Wichert
106 dauthor: E: ## Wichert potato
108 dbugs: D: Show the current count of release critical bugs (latest versions)
111 ddesc: D: Search the Description: lines in Debian packages
112 ddesc: U: ## <string> [dist]
114 ddesc: E: ## mule potato
116 dfind: D: Debian Packages (fallback to Contents) search
117 dfind: U: ## <string> [dist]
118 dfind: E: ## strings.h
119 dfind: E: ## x11amp potato
121 dict: D: DICT Protocol Client - likely dicts: elements web1913 wn gazetteer jargon foldoc easton hitchcock devils world02 vera
122 dict: U: ## [entry num] <query>[/dict]
124 dict: E: ## 33 set/wn
128 dns: E: ## debian.org
131 do: D: operator command to do things in a channel
132 do: U: ## <chan> <what>
134 dollar variables: D: To be used in factoids
135 dollar variables: $Fdunno - ...
136 dollar variables: $Fquestion - ...
137 dollar variables: $Fupdate - ...
138 dollar variables: $channel - channel from which the factoid was requested
139 dollar variables: $date - current date (GMT)
140 dollar variables: $day - day of week (full name, locale)
141 dollar variables: $factoids - factoid count
142 dollar variables: $host - hostname of factoid requester
143 dollar variables: $ident - bot nick
144 dollar variables: $lastspeaker - ...
145 dollar variables: $memusage - ...
146 dollar variables: $rand - random number, also $rand100.2
147 dollar variables: $randnick - random nick
148 dollar variables: $startTime - start time
149 dollar variables: $time - current time (GMT)
150 dollar variables: $uptime - ...
151 dollar variables: $user - username of factoid requester
152 dollar variables: $who - nick of factoid requester
154 dstats: D: Show basic stats on the current size of the Debian distros
159 factinfo: D: View statistical information about a particular factoid.
160 factinfo: U: ## <factoid>
163 factstats: D: Display statistical data (max of 15) about factoids.
164 factstats: U: ## <type>
165 factstats: == author -- top author of factoids.
166 factstats: == deadredir -- ??
167 factstats: == duplicate -- duplicate factoids.
168 factstats: == listfix -- ??
169 factstats: == locked -- locked factoids.
170 factstats: == new -- recent addition of factoids.
171 factstats: == nullfactoids -- ??
172 factstats: == partdupe -- initial partial duplicate factoids.
173 factstats: == profanity -- possibly offensive factoids.
174 factstats: == redir -- redirection in factoids.
175 factstats: == reqrate -- ??
176 factstats: == requested -- most requested factoids.
177 factstats: == requesters -- most requested factoids.
178 factstats: == seefix -- ??
179 factstats: == toolong -- factoid {key|value} exceeding specified length.
180 factstats: == tooshort -- factoid {key|value} shorter than specified length.
181 factstats: == total -- ??
182 factstats: == unrequest -- unrequested factoids.
183 factstats: == vandalism -- ??
186 flags: D: Flags for chattr command
187 flags: D: "A" - bot administration over /msg (default is only via DCC CHAT)
188 flags: D: "O" - dynamic ops (as on channel). (automatic +o)
189 flags: D: "T" - add topics.
190 flags: D: "a" - ask/request factoid.
191 flags: D: "m" - modify all factoids. (includes renaming)
192 flags: D: "M" - modify own factoids. (includes renaming)
193 flags: D: "n" - bot owner, can "reload"
194 flags: D: "o" - master of bot (automatic +amrt)
195 flags: D: - can search on factoid strings shorter than 2 chars
196 flags: D: - can tell bot to join new channels
197 flags: D: - can [un]lock factoids
198 flags: D: "r" - remove factoid.
199 flags: D: "t" - teach/add factoid.
200 flags: D: "s" - Bypass +silent on channels
202 forget: If I have an old/redundant factoid x, "forget x" will cause me to erase it.
204 freshmeat: D: Frontend to www.freshmeat.net
205 freshmeat: U: ## <query>
206 freshmeat: E: ## infobot
208 hex: D: Convert ascii to hex
212 hex2ip: D: Convert Hex idents for some gateways to an IP address
213 hex2ip: U: ## <8 char hex value>
214 hex2ip: E: ## AabBcC12
216 hostadd: D: admin command to list or add hostmasks to a user account
217 hostadd: U: ## [user] [<mask>]
219 hostadd: E: ## *!*@owns.org
220 hostadd: E: ## owner leet!leet@*.heh.org
222 hostdel: D: admin command to remove hostmask from a user account
223 hostdel: U: ## [user] <mask>
224 hostdel: E: ## *!*@owns.org
225 hostdel: E: ## owner leet!leet@*.heh.org
227 httpdtype: D: Get httpd server software version / configuration
228 httpdtype: U: ## <hostname>
229 httpdtype: E: ## example.com
231 ignore: D: ignore list management
232 ignore: E: ## [mask chan expire comment]
233 ignore: E: addignore guu!*@*
235 ircstats: ircstats dumps some status information on the bot's IRC connection
237 join: U: ## <#chan> [key]
239 join: E: ## #botpark rules
241 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?"
243 kernel: D: Frontend to linux.kernel.org's finger response.
246 kick: U: ## <nick> [#chan] [message]
248 kick: E: ## larne #botpark
249 kick: E: ## john #foo go away!
251 lart: D: Luser Attitude Readjustment Tool
252 lart: U: ## [#chan] <who>
253 lart: E: ## lenzo infobot's bugginess
254 lart: E: ## #perl everyone perl \=\= lamerville
256 lc: D: lower case a given string
258 lc: E: ## When will infobot achieve world domination?
260 listauth: D: Search the factoid extension db by creator
261 listauth: U: ## <search>
264 listkeys: D: Search the factoid database by key (factoid)
265 listkeys: U: ## <regex>
266 listkeys: E: ## infobot
268 listvalues: D: Search the factoid database by value (description)
269 listvalues: U: ## <regex>
270 listvalues: E: ## infobot
272 literal: used to get a raw factoid contents. Use _default to ignore factoidSearch path.
273 literal: U: ## [_default|prefix] <factoid>
274 literal: E: ## infobot
276 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
278 lock: D: Factoid locking to prevent removal by others
279 lock: U: ## <factoid>
281 lock: N: By default, only registered "ops" on the bots or factoids matching the user's nick are able to lock factoids.
282 lock: N: Requires factoid extension (extra) support enabled.
284 math: D: math expresions can be evaluated. This uses Perl syntax.
290 math: ** - to the power
296 md5: D: calculates the md5sum of a given string
298 md5: E: ## When will infobot achieve world domination?
300 mode: set modes for a channel
301 mode: U: ## <#chan> <mode>
302 mode: E: ## #botpark +t
303 mode: E: ## #botpark -i
305 news: D: News functions
306 news: U: ## [chan] <add,del,mod,set,latest,read,help>
308 news add: D: Add news items
309 news add: U: news [chan] add <title>
310 news add: E: news add This is a test
311 news add: see _news set Text_ aswell
313 news set: D: Set stuff for news item
314 news set: U: news [chan] set <item> <what> [value]
315 news set: valid <what>: Expire, Text
316 news set: E: news set 1 Text ok, this works
317 news set: E: news set test Text and this is a test
318 news set: E: news set test Text
320 news set expire: D: Set expire for news item
321 news set expire: U: news [chan] expire <what> <value>
322 news set expire: value can be: Xd Xh Xm Xs
323 news set expire: value can be: never
324 news set expire: news expire 1 3days
325 news set expire: news expire 2 +20d
326 news set expire: news expire Test 30d 20h 10m 5s
327 news set expire: news expire TEST never
329 news del: D: Delete news item (requires +o or be author)
330 news del: U: news [chan] del <item>
331 news del: E: news del 1
332 news del: E: news del test
334 news mod: D: Modify a news item (todo: modify Text aswell)
335 news mod: E: news [chan] mod <item> s/<from>/<to>/[g]
336 news mod: E: news mod 1 s/test/Test/
337 news mod: E: news mod test s/test/Test/g
339 nickometer: D: Measures the lame-ness of a nick or channel
340 nickometer: U: ## {nick,channel}
341 nickometer: E: ## unknown_lamer
342 nickometer: E: ## #botpark
344 onjoin: D: get/set OnJoin message (needs chan option +OnJoin)
345 onjoin: U: ## [#chan|_default] [-]<nick> [message]
346 onjoin: E: ## infobot Hey! It's another infobot!
348 ord: D: Convert ascii to decimal
349 ord: U: ## <single character>
352 page: D: Send someone a pager message
353 page: U: ## <who> <message>
354 page: E: ## infobot you rock!
355 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"
357 part: D: Leave a channel (DCC only)
358 part: U: ## <#channel>
360 part: NOTE: /kick is an alternative
362 piglatin: D: translates english text into piglatin
363 piglatin: U: ## <string>
364 piglatin: E: ## When will infobot achieve world domination?
366 quote: D: Frontend to yahoo's online stock market share listing
367 quote: U: ## <query...>
368 quote: E: ## RHAT,MSFT
370 redirection: If a factoid x contains simply "<reply> see y", then when asked for x, I will deliver factoidor command result y instead.
372 rename: D: Factoid renaming
373 rename: U: ## 'from' 'to'
374 rename: E: ## 'infobot' 'infobot'
376 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".
378 reverse: D: reverses a given string
379 reverse: U: ## <string>
380 reverse: E: ## When will infobot achieve world domination?
382 rot13: D: ROT13's a given string
383 rot13: U: ## <string>
384 rot13: E: ## guvf vf n ynzr rknzcyr
386 say: D: operator command to say things in a channel
387 say: U: ## <chan> <what>
389 scramble: D: scrambles a given string
390 scramble: U: ## <string>
391 scramble: E: ## When will infobot achieve world domination?
393 search: U: ## <engine> for <string>
394 search: E: ## google for infobot
396 seen: D: Report last seen time for somebody
400 slashdot: D: News for nerds, Stuff that matters. [tm] (shows the headlines)
403 spell: You've guessed it right, I'm a spell checker. Give me any word and I can confirm whether it's good or bad.
405 status: status dumps general status information
407 tell: D: Tell someone about a factoid or command
408 tell: U: ## <who> -?about <what>
409 tell: E: ## me about infobot
410 tell: E: ## someone -about testing
412 topic add: D: Add your own topic
413 topic add: U: ## <topic>
414 topic add: E: ## This is a test
416 topic del: D: Delete one or two subtopics
419 topic del: E: ## 1-3,5
420 topic del: E: ## last
422 topic mod: D: Search and replace strings in the topic
423 topic mod: U: ## <REGEX>
424 topic mod: E: ## s/test/TEST/
425 topic mod: E: ## s#msg test#/msg test#g
427 topic mv: D: Move subtopics around.
428 topic mv: U: ## <#> <before|after|swap> <#>
429 topic mv: E: ## 1 after 2
430 topic mv: E: ## first before last
432 topic restore: D: Restores the topic to an earlier version
433 topic restore: U: ## <#>
434 topic restore: E: ## 3
436 topic: Usage for 'topic [#chan] <params>':
437 topic: ---------------- __Subtopic__:
438 topic: add <TOPIC> - Append <TOPIC> to topic.
439 topic: del <#> - Remove subtopic <#> from topic.
440 topic: list - Display subtopics.
441 topic: mod s/old/new/ - Search and replace topic.
442 topic: mv <ARGS> - 'topic mv'.
443 topic: shuffle - Randomly organize subtopics.
444 topic: ---------------- __Topic__
445 topic: history - Show previous topics.
446 topic: restore <#> - Restore topic to <#>.
447 topic: rehash - Rehash changes to topic.
448 topic: info - Who and time info.
449 topic: ---------------- __Misc__
450 topic: about - Read the file :)
451 topic: help - This screen.
453 topic: NOTE: #chan arg is only required if command is sent over private message to nick, otherwise it is not needed if sent to the channel.
454 topic: NOTE: commands can be preceeded? with '-' in order not to enforce changes to topic.
457 uc: D: upper case a given string
459 uc: E: ## When will infobot achieve world domination?
461 unforget: If a factoid has been forgotten, "unforget x" will cause me to unerase it.
463 unlobotomy: Not possible in real life, an unlobotomy will bring me back to life in the case of a lobotomy.
465 unlock: D: Factoid unlocking to allow removal by others.
466 unlock: U: ## <factoid>
469 upsidedown: D: display a string in pseudo upside down unicode text
470 upsidedown: U: ## <string>
471 upsidedown: E: ## When will infobot achieve world domination?
473 uptime: D: Show the current uptime, and the top 3 uptimes recorded
476 useradd: D: Administrative command to add new user to the .users file
477 useradd: U: ## <user> <mask>
478 useradd: E: ## SomeAccount SomeAccount!someguy@example.com
480 userdel: D: Administrative command to remove a user from the .users file
481 userdel: U: ## <user>
482 userdel: E: ## SomeAccount
484 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).
486 whois: D: List available information for an account on the bot
487 whois: U: ## <account>
488 whois: E: ## SomeAccount
490 wikipedia: D: Frontend to the Wikipedia at http://www.wikipedia.org/wiki/ Note that utf8 is used for non-ascii characters.
491 wikipedia: U: ## <topic>
492 wikipedia: U: wiki <topic>
493 wikipedia: E: wiki irc
495 wtf: D: Interface to the BSD wtf command
496 wtf: U: ## <abbreviation>
499 rssfeeds: D: rssfeeds is used to control the RSS Feed tracking module
500 rssfeeds: U: rssfeeds [command]
501 rssfeeds: E: rssfeeds flush
502 rssfeeds: D: flush - Will erase the cache file. (Must be chattr +o)
503 rssfeeds: D: update - Force a manual update of the feeds. (Must be chattr +o)
505 # vim:ts=4:sw=4:expandtab:tw=80