2 # Author: Tim Riker <Tim@Rikers.org>
5 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?"
7 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"
9 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.
11 author: oznoid (mailto:lenzo@ri.cmu.edu) is my original author.
13 dollar variables: D: To be used in factoids
14 dollar variables: $Fdunno - ...
15 dollar variables: $Fquestion - ...
16 dollar variables: $Fupdate - ...
17 dollar variables: $channel - channel from which the factoid was requested
18 dollar variables: $date - current date (GMT)
19 dollar variables: $day - day of week (full name, locale)
20 dollar variables: $factoids - factoid count
21 dollar variables: $host - hostname of factoid requester
22 dollar variables: $ident - bot nick
23 dollar variables: $lastspeaker - ...
24 dollar variables: $memusage - ...
25 dollar variables: $rand - random number, also $rand100.2
26 dollar variables: $randnick - random nick
27 dollar variables: $startTime - start time
28 dollar variables: $time - current time (GMT)
29 dollar variables: $uptime - ...
30 dollar variables: $user - username of factoid requester
31 dollar variables: $who - nick of factoid requester
33 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.
34 corrections: you can append stuff to a factoid with "also". "x is also at ..."
36 math: D: math expresions can be evaluated. This uses Perl syntax.
42 math: ** - to the power
48 redirection: If a factoid x contains simply "<reply> see y", then when asked for x, I will deliver factoidor command result y instead.
50 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".
54 adduser: D: Administrative command to add new user to the .users file
55 adduser: U: ## <user> <mask>
56 adduser: E: ## bloot bloot!bloot@example.com
58 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)
60 babelfish: D: Frontend to babelfish translating service provided by http://babelfish.altavista.com/ Note that utf8 is used for non-ascii characters.
61 babelfish: U: x <fromLang> <toLang> <words>
62 babelfish: U: translate <fromLang> <toLang> <words>
63 babelfish: E: x en de your cars rock
66 -ban: U: ## <mask|user>
67 -ban: E: ## *!*@owns.org
71 +ban: U: ## <mask|user> [chan] [time] [reason]
72 +ban: E: ## *!*@owns.org #bots 60 stop flooding.
73 +ban: E: ## *!*@*microsoft.com STOOPID
76 botmail: D: Send someone botmail
77 botmail: U: ## {for <who>[:] <message>}|stats|check|read
78 botmail: E: ## for infobot: you rock!
83 -chan: D: Leave a channel permanently
84 -chan: U: ## -#channel
85 -chan: E: ## -#botpark
87 +chan: D: Join a channel permanently
91 chaninfo: D: Display channel statistics on Op, Ban, Deop, Unban, Part, Join, SignOff, PublicMsg, Kick and Topic
92 chaninfo: U: ## [#channel]
94 chaninfo: E: ## #botpark
96 chanset: D: set a variable for a channel
97 chanset: U: ## [#chan] [what] [val]
98 chanset: E: ## #c +test
99 chanset: E: ## #c -test
100 chanset: E: ## #c test
101 chanset: E: ## #c test 0
102 chanset: E: ## #c test testing123
104 chanunset: D: remove a variable from a channel
105 chanunset: U: ## <#chan> [what]
107 chanunset: E: ## #c test
109 chattr: D: Change flags on a user (see "help flags")
110 chattr: U: ## <user> [flags]
111 chattr: E: ## bloot +nmo
112 chattr: E: ## bloot -ot
115 chnick: D: rename a nick (user) entry
116 chnick: U: ## [nick] <new-nick>
118 chnick: E: ## owner eleet
120 chpass: D: Change a user's password
121 chpass: U: ## [user] <pass>
122 chpass: E: ## testing
123 chpass: E: ## testing test0R
125 contents: D: Debian Contents search only (no Packages)
126 contents: U: ## <string> [dist]
127 contents: E: ## strings.h
128 contents: E: ## x11amp potato
130 cookie: I can feed your appetite with random factoids.
132 cpustats: cpustats dumps the bot's cpu usage this session
134 crypt: It's good that you thought about encryption. I can do it for you.
135 crypt: U: ## <salt> <string>
136 crypt: E: ## 69 changeme
137 crypt: E: ## $1$abcde changeme
139 cycle: D: Causes me to cycle in the channel it's said, or in the named channel
140 cycle: U: ## [channel]
142 cycle: E: ## #botpark
144 dauthor: D: Find Debian package maintainers, and list the packages they maintain
145 dauthor: U: ## <string> [dist]
146 dauthor: E: ## Wichert
147 dauthor: E: ## Wichert potato
149 dbugs: D: Show the current count of release critical bugs (latest versions)
152 deluser: D: Administrative command to remove a user from the .users file
153 deluser: U: ## <user>
156 ddesc: D: Search the Description: lines in Debian packages
157 ddesc: U: ## <string> [dist]
159 ddesc: E: ## mule potato
161 dfind: D: Debian Packages (fallback to Contents) search
162 dfind: U: ## <string> [dist]
163 dfind: E: ## strings.h
164 dfind: E: ## x11amp potato
166 dict: D: DICT Protocol Client - likely dicts: elements web1913 wn gazetteer jargon foldoc easton hitchcock devils world02 vera
167 dict: U: ## [entry num] <query>[/dict]
169 dict: E: ## 33 set/wn
173 dns: E: ## debian.org
176 do: D: operator command to do things in a channel
177 do: U: ## <chan> <what>
179 dstats: D: Show basic stats on the current size of the Debian distros
184 factinfo: D: View statistical information about a particular factoid.
185 factinfo: U: ## <factoid>
188 factstats: D: Display statistical data (max of 15) about factoids.
189 factstats: U: ## <type>
190 factstats: == author -- top author of factoids.
191 factstats: == deadredir -- ??
192 factstats: == duplicate -- duplicate factoids.
193 factstats: == listfix -- ??
194 factstats: == locked -- locked factoids.
195 factstats: == new -- recent addition of factoids.
196 factstats: == nullfactoids -- ??
197 factstats: == partdupe -- initial partial duplicate factoids.
198 factstats: == profanity -- possibly offensive factoids.
199 factstats: == redir -- redirection in factoids.
200 factstats: == reqrate -- ??
201 factstats: == requested -- most requested factoids.
202 factstats: == requesters -- most requested factoids.
203 factstats: == seefix -- ??
204 factstats: == toolong -- factoid {key|value} exceeding specified length.
205 factstats: == tooshort -- factoid {key|value} shorter than specified length.
206 factstats: == total -- ??
207 factstats: == unrequest -- unrequested factoids.
208 factstats: == vandalism -- ??
211 forget: If I have an old/redundant factoid x, "forget x" will cause me to erase it.
213 freshmeat: D: Frontend to www.freshmeat.net
214 freshmeat: U: ## <query>
215 freshmeat: E: ## infobot
217 hex: D: Convert ascii to hex
221 httpdtype: D: Get httpd server software version / configuration
222 httpdtype: U: ## <hostname>
223 httpdtype: E: ## example.com
225 ignore: D: ignore list management
226 ignore: E: ## [mask chan expire comment]
227 ignore: E: addignore guu!*@*
229 ircstats: ircstats dumps some status information on the bot's IRC connection
231 join: U: ## <#chan> [key]
233 join: E: ## #botpark rules
235 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?"
237 kernel: D: Frontend to linux.kernel.org's finger response.
240 kick: U: ## <nick> [#chan] [message]
242 kick: E: ## larne #botpark
243 kick: E: ## john #foo go away!
245 lart: D: Luser Attitude Readjustment Tool
246 lart: U: ## [#chan] <who>
247 lart: E: ## lenzo infobot's bugginess
248 lart: E: ## #perl everyone perl \=\= lamerville
250 lc: D: lower case a given string
252 lc: E: ## When will infobot achieve world domination?
254 listauth: D: Search the factoid extension db by creator
255 listauth: U: ## <search>
258 listkeys: D: Search the factoid database by key (factoid)
259 listkeys: U: ## <regex>
260 listkeys: E: ## infobot
262 listvalues: D: Search the factoid database by value (description)
263 listvalues: U: ## <regex>
264 listvalues: E: ## infobot
266 literal: used to get a raw factoid contents. Use _default to ignore factoidSearch path.
267 literal: U: ## [_default|prefix] <factoid>
268 literal: E: ## infobot
270 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
272 lock: D: Factoid locking to prevent removal by others
273 lock: U: ## <factoid>
275 lock: N: By default, only registered "ops" on the bots or factoids matching the user's nick are able to lock factoids.
276 lock: N: Requires factoid extension (extra) support enabled.
278 md5: D: calculates the md5sum of a given string
280 md5: E: ## When will infobot achieve world domination?
282 mode: set modes for a channel
283 mode: U: ## <#chan> <mode>
284 mode: E: ## #botpark +t
285 mode: E: ## #botpark -i
287 news: D: News functions
288 news: U: ## [chan] <add,del,mod,set,latest,read,help>
290 news add: D: Add news items
291 news add: U: news [chan] add <title>
292 news add: E: news add This is a test
293 news add: see _news set Text_ aswell
295 news set: D: Set stuff for news item
296 news set: U: news [chan] set <item> <what> [value]
297 news set: valid <what>: Expire, Text
298 news set: E: news set 1 Text ok, this works
299 news set: E: news set test Text and this is a test
300 news set: E: news set test Text
302 news set expire: D: Set expire for news item
303 news set expire: U: news [chan] expire <what> <value>
304 news set expire: value can be: Xd Xh Xm Xs
305 news set expire: value can be: never
306 news set expire: news expire 1 3days
307 news set expire: news expire 2 +20d
308 news set expire: news expire Test 30d 20h 10m 5s
309 news set expire: news expire TEST never
311 news del: D: Delete news item (requires +o or be author)
312 news del: U: news [chan] del <item>
313 news del: E: news del 1
314 news del: E: news del test
316 news mod: D: Modify a news item (todo: modify Text aswell)
317 news mod: E: news [chan] mod <item> s/<from>/<to>/[g]
318 news mod: E: news mod 1 s/test/Test/
319 news mod: E: news mod test s/test/Test/g
321 nickometer: D: Measures the lame-ness of a nick or channel
322 nickometer: U: ## {nick,channel}
323 nickometer: E: ## unknown_lamer
324 nickometer: E: ## #botpark
326 onjoin: D: get/set OnJoin message (needs chan option +OnJoin)
327 onjoin: U: ## [#chan|_default] [-]<nick> [message]
328 onjoin: E: ## infobot Hey! It's another infobot!
330 ord: D: Convert ascii to decimal
331 ord: U: ## <single character>
334 page: D: Send someone a pager message
335 page: U: ## <who> <message>
336 page: E: ## infobot you rock!
337 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"
339 part: D: Leave a channel (DCC only)
340 part: U: ## <#channel>
342 part: NOTE: /kick is an alternative
344 piglatin: D: translates english text into piglatin
345 piglatin: U: ## <string>
346 piglatin: E: ## When will infobot achieve world domination?
348 quote: D: Frontend to yahoo's online stock market share listing
349 quote: U: ## <query...>
350 quote: E: ## RHAT,MSFT
352 rename: D: Factoid renaming
353 rename: U: ## 'from' 'to'
354 rename: E: ## 'infobot' 'infobot'
356 reverse: D: reverses a given string
357 reverse: U: ## <string>
358 reverse: E: ## When will infobot achieve world domination?
360 rot13: D: ROT13's a given string
361 rot13: U: ## <string>
362 rot13: E: ## guvf vf n ynzr rknzcyr
364 say: D: operator command to say things in a channel
365 say: U: ## <chan> <what>
367 scramble: D: scrambles a given string
368 scramble: U: ## <string>
369 scramble: E: ## When will infobot achieve world domination?
371 search: U: ## <engine> for <string>
372 search: E: ## google for infobot
374 seen: D: Report last seen time for somebody
378 slashdot: D: News for nerds, Stuff that matters. [tm] (shows the headlines)
381 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.
383 status: status dumps general status information
385 tell: D: Tell someone about a factoid or command
386 tell: U: ## <who> -?about <what>
387 tell: E: ## me about infobot
388 tell: E: ## someone -about testing
390 topic add: D: Add your own topic
391 topic add: U: ## <topic>
392 topic add: E: ## This is a test
394 topic del: D: Delete one or two subtopics
397 topic del: E: ## 1-3,5
398 topic del: E: ## last
400 topic mod: D: Search and replace strings in the topic
401 topic mod: U: ## <REGEX>
402 topic mod: E: ## s/test/TEST/
403 topic mod: E: ## s#msg test#/msg test#g
405 topic mv: D: Move subtopics around.
406 topic mv: U: ## <#> <before|after|swap> <#>
407 topic mv: E: ## 1 after 2
408 topic mv: E: ## first before last
410 topic restore: D: Restores the topic to an earlier version
411 topic restore: U: ## <#>
412 topic restore: E: ## 3
414 topic: Usage for 'topic [#chan] <params>':
415 topic: ---------------- __Subtopic__:
416 topic: add <TOPIC> - Append <TOPIC> to topic.
417 topic: del <#> - Remove subtopic <#> from topic.
418 topic: list - Display subtopics.
419 topic: mod s/old/new/ - Search and replace topic.
420 topic: mv <ARGS> - 'topic mv'.
421 topic: shuffle - Randomly organize subtopics.
422 topic: ---------------- __Topic__
423 topic: history - Show previous topics.
424 topic: restore <#> - Restore topic to <#>.
425 topic: rehash - Rehash changes to topic.
426 topic: info - Who and time info.
427 topic: ---------------- __Misc__
428 topic: about - Read the file :)
429 topic: help - This screen.
431 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.
432 topic: NOTE: commands can be preceeded? with '-' in order not to enforce changes to topic.
435 uc: D: upper case a given string
437 uc: E: ## When will infobot achieve world domination?
439 unforget: If a factoid has been forgotten, "unforget x" will cause me to unerase it.
441 unlobotomy: Not possible in real life, an unlobotomy will bring me back to life in the case of a lobotomy.
443 unlock: D: Factoid unlocking to allow removal by others.
444 unlock: U: ## <factoid>
447 uptime: D: Show the current uptime, and the top 3 uptimes recorded
450 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).
452 wikipedia: D: Frontend to the Wikipedia at http://www.wikipedia.org/wiki/ Note that utf8 is used for non-ascii characters.
453 wikipedia: U: ## <topic>
454 wikipedia: U: wiki <topic>
455 wikipedia: E: wiki irc
457 wtf: D: Interface to the BSD wtf command
458 wtf: U: ## <abbreviation>
461 -host: D: admin command to remove hostmask from a user account
462 -host: U: ## [user] <mask>
463 -host: E: ## *!*@owns.org
464 -host: E: ## owner leet!leet@*.heh.org
466 +host: D: admin command to list or add hostmasks to a user account
467 +host: U: ## [user] [<mask>]
469 +host: E: ## *!*@owns.org
470 +host: E: ## owner leet!leet@*.heh.org
472 flags: D: Flags for chattr command
473 flags: D: "A" - bot administration over /msg (default is only via DCC CHAT)
474 flags: D: "O" - dynamic ops (as on channel). (automatic +o)
475 flags: D: "T" - add topics.
476 flags: D: "a" - ask/request factoid.
477 flags: D: "m" - modify all factoids. (includes renaming)
478 flags: D: "M" - modify own factoids. (includes renaming)
479 flags: D: "n" - bot owner, can "reload"
480 flags: D: "o" - master of bot (automatic +amrt)
481 flags: D: - can search on factoid strings shorter than 2 chars
482 flags: D: - can tell bot to join new channels
483 flags: D: - can [un]lock factoids
484 flags: D: "r" - remove factoid.
485 flags: D: "t" - teach/add factoid.
486 flags: D: "s" - Bypass +silent on channels
488 rssfeeds: D: rssfeeds is used to control the RSS Feed tracking module
489 rssfeeds: U: rssfeeds [command]
490 rssfeeds: E: rssfeeds flush
491 rssfeeds: D: flush - Will erase the cache file. (Must be chattr +o)
492 rssfeeds: D: update - Force a manual update of the feeds. (Must be chattr +o)
494 hex2ip: D: Convert Hex idents for some gateways to an IP address
495 hex2ip: U: ## <8 char hex value>
496 hex2ip: E: ## AabBcC12
498 # vim:ts=4:sw=4:expandtab:tw=80