]> git.donarmstrong.com Git - infobot.git/blob - files/infobot.help
5b3853c1e82971c6d42221021e2744d3fdc3402f
[infobot.git] / files / infobot.help
1 # Revised: 20071016
2 #  Author: Tim Riker <Tim@Rikers.org>
3 ###
4
5 # Special entry
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?"
7
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"
9
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)
11
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.
13
14 author: oznoid (mailto:lenzo@ri.cmu.edu) is my original author.
15
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
20
21 bandel: D: FIXME:
22 bandel: U: ## <mask|user>
23 bandel: E: ## *!*@owns.org
24 bandel: E: ## MoronMan
25
26 banadd: D: FIXME:
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
31
32 botmail: D: Send someone botmail
33 botmail: U: ## {for <who>[:] <message>}|stats|check|read
34 botmail: E: ## for infobot: you rock!
35 botmail: E: ## stats
36 botmail: E: ## check
37 botmail: E: ## read
38
39 chanadd: D: Join a channel permanently
40 chanadd: U: ## #channel
41 chanadd: E: ## #botpark
42
43 chandel: D: Leave a channel permanently
44 chandel: U: ## -#channel
45 chandel: E: ## -#botpark
46
47 chaninfo: D: Display channel statistics on Op, Ban, Deop, Unban, Part, Join, SignOff, PublicMsg, Kick and Topic
48 chaninfo: U: ## [#channel]
49 chaninfo: E: ##
50 chaninfo: E: ## #botpark
51
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
59
60 chanunset: D: remove a variable from a channel
61 chanunset: U: ## <#chan> [what]
62 chanunset: E: ## #c
63 chanunset: E: ## #c test
64
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
69 chattr: E: ## bloot
70
71 chnick: D: rename a nick (user) entry
72 chnick: U: ## [nick] <new-nick>
73 chnick: E: ## moron
74 chnick: E: ## owner eleet
75
76 chpass: D: Change a user's password
77 chpass: U: ## [user] <pass>
78 chpass: E: ## testing
79 chpass: E: ## testing test0R
80
81 contents: D: Debian Contents search only (no Packages)
82 contents: U: ## <string> [dist]
83 contents: E: ## strings.h
84 contents: E: ## x11amp potato
85
86 cookie: I can feed your appetite with random factoids.
87
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 ..."
90
91 cpustats: cpustats dumps the bot's cpu usage this session
92
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
97
98 cycle: D: Causes me to cycle in the channel it's said, or in the named channel
99 cycle: U: ## [channel]
100 cycle: E: ##
101 cycle: E: ## #botpark
102
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
107
108 dbugs: D: Show the current count of release critical bugs (latest versions)
109 dbugs: U: ##
110
111 ddesc: D: Search the Description: lines in Debian packages
112 ddesc: U: ## <string> [dist]
113 ddesc: E: ## mule
114 ddesc: E: ## mule potato
115
116 dfind: D: Debian Packages (fallback to Contents) search
117 dfind: U: ## <string> [dist]
118 dfind: E: ## strings.h
119 dfind: E: ## x11amp potato
120
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]
123 dict: E: ## linux
124 dict: E: ## 33 set/wn
125
126 dns: D: Query DNS
127 dns: U: ## <host|ip>
128 dns: E: ## debian.org
129 dns: E: ## 3.1.33.7
130
131 do: D: operator command to do things in a channel
132 do: U: ## <chan> <what>
133
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
153
154 dstats: D: Show basic stats on the current size of the Debian distros
155 dstats: U: ## [dist]
156 dstats: E: ##
157 dstats: E: ## potato
158
159 factinfo: D: View statistical information about a particular factoid.
160 factinfo: U: ## <factoid>
161 factinfo: E: ## test
162
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 -- ??
184 factstats: E: ## new
185
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
201
202 forget: If I have an old/redundant factoid x, "forget x" will cause me to erase it.
203
204 freshmeat: D: Frontend to www.freshmeat.net
205 freshmeat: U: ## <query>
206 freshmeat: E: ## infobot
207
208 hex: D: Convert ascii to hex
209 hex: U: ## <string>
210 hex: E: ## carrot
211
212 hex2ip: D: Convert Hex idents for some gateways to an IP address
213 hex2ip: U: ## <8 char hex value>
214 hex2ip: E: ## AabBcC12
215
216 hostadd: D: admin command to list or add hostmasks to a user account
217 hostadd: U: ## [user] [<mask>]
218 hostadd: E: ## owner
219 hostadd: E: ## *!*@owns.org
220 hostadd: E: ## owner leet!leet@*.heh.org
221
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
226
227 httpdtype: D: Get httpd server software version / configuration
228 httpdtype: U: ## <hostname>
229 httpdtype: E: ## example.com
230
231 ignore: D: ignore list management
232 ignore: E: ## [mask chan expire comment]
233 ignore: E: addignore guu!*@*
234
235 ircstats: ircstats dumps some status information on the bot's IRC connection
236
237 join: U: ## <#chan> [key]
238 join: E: ## #botpark
239 join: E: ## #botpark rules
240
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?"
242
243 kernel: D: Frontend to linux.kernel.org's finger response.
244 kernel: U: ##
245
246 kick: U: ## <nick> [#chan] [message]
247 kick: E: ## oznoid
248 kick: E: ## larne #botpark
249 kick: E: ## john #foo go away!
250
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
255
256 lc: D: lower case a given string
257 lc: U: ## <string>
258 lc: E: ## When will infobot achieve world domination?
259
260 listauth: D: Search the factoid extension db by creator
261 listauth: U: ## <search>
262 listauth: E: ## xk
263
264 listkeys: D: Search the factoid database by key (factoid)
265 listkeys: U: ## <regex>
266 listkeys: E: ## infobot
267
268 listvalues: D: Search the factoid database by value (description)
269 listvalues: U: ## <regex>
270 listvalues: E: ## infobot
271
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
275
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
277
278 lock: D: Factoid locking to prevent removal by others
279 lock: U: ## <factoid>
280 lock: E: ## abuse
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.
283
284 math: D: math expresions can be evaluated. This uses Perl syntax.
285 math: E: 1+1
286 math: + - add
287 math: - - subtract
288 math: * - multiply
289 math: / - division
290 math: ** - to the power
291 math: pi - pi
292 math: & - and
293 math: | = or
294 math: ^ - xor
295
296 md5: D: calculates the md5sum of a given string
297 md5: U: ## <string>
298 md5: E: ## When will infobot achieve world domination?
299
300 mode: set modes for a channel
301 mode: U: ## <#chan> <mode>
302 mode: E: ## #botpark +t
303 mode: E: ## #botpark -i
304
305 news: D: News functions
306 news: U: ## [chan] <add,del,mod,set,latest,read,help>
307
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
312
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
319
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
328
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
333
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
338
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
343
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!
347
348 ord: D: Convert ascii to decimal
349 ord: U: ## <single character>
350 ord: E: ## c
351
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"
356
357 part: D: Leave a channel (DCC only)
358 part: U: ## <#channel>
359 part: E: ## #botpark
360 part: NOTE: /kick is an alternative
361
362 piglatin: D: translates english text into piglatin
363 piglatin: U: ## <string>
364 piglatin: E: ## When will infobot achieve world domination?
365
366 quote: D: Frontend to yahoo's online stock market share listing
367 quote: U: ## <query...>
368 quote: E: ## RHAT,MSFT
369
370 redirection: If a factoid x contains simply "<reply> see y", then when asked for x, I will deliver factoidor command result y instead.
371
372 rename: D: Factoid renaming
373 rename: U: ## 'from' 'to'
374 rename: E: ## 'infobot' 'infobot'
375
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".
377
378 reverse: D: reverses a given string
379 reverse: U: ## <string>
380 reverse: E: ## When will infobot achieve world domination?
381
382 rot13: D: ROT13's a given string
383 rot13: U: ## <string>
384 rot13: E: ## guvf vf n ynzr rknzcyr
385
386 say: D: operator command to say things in a channel
387 say: U: ## <chan> <what>
388
389 scramble: D: scrambles a given string
390 scramble: U: ## <string>
391 scramble: E: ## When will infobot achieve world domination?
392
393 search: U: ## <engine> for <string>
394 search: E: ## google for infobot
395
396 seen: D: Report last seen time for somebody
397 seen: U: ## <nick>
398 seen: E: ## infobot
399
400 slashdot: D: News for nerds, Stuff that matters. [tm] (shows the headlines)
401 slashdot: U: ##
402
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.
404
405 status: status dumps general status information
406
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
411
412 topic add: D: Add your own topic
413 topic add: U: ## <topic>
414 topic add: E: ## This is a test
415
416 topic del: D: Delete one or two subtopics
417 topic del: U: ## <#>
418 topic del: E: ## 1
419 topic del: E: ## 1-3,5
420 topic del: E: ## last
421
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
426
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
431
432 topic restore: D: Restores the topic to an earlier version
433 topic restore: U: ## <#>
434 topic restore: E: ## 3
435
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.
452
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.
455 topic: End of help.
456
457 uc: D: upper case a given string
458 uc: U: ## <string>
459 uc: E: ## When will infobot achieve world domination?
460
461 unforget: If a factoid has been forgotten, "unforget x" will cause me to unerase it.
462
463 unlobotomy: Not possible in real life, an unlobotomy will bring me back to life in the case of a lobotomy.
464
465 unlock: D: Factoid unlocking to allow removal by others.
466 unlock: U: ## <factoid>
467 unlock: E: ## abuse
468
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?
472
473 uptime: D: Show the current uptime, and the top 3 uptimes recorded
474 uptime: U: ##
475
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
479
480 userdel: D: Administrative command to remove a user from the .users file
481 userdel: U: ## <user>
482 userdel: E: ## SomeAccount
483
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).
485
486 whois: D: List available information for an account on the bot
487 whois: U: ## <account>
488 whois: E: ## SomeAccount
489
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
494
495 wtf: D: Interface to the BSD wtf command
496 wtf: U: ## <abbreviation>
497 wtf: E: ## iirc
498
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)
504
505 # vim:ts=4:sw=4:expandtab:tw=80