]> git.donarmstrong.com Git - infobot.git/blob - files/infobot.help
urlchannel
[infobot.git] / files / infobot.help
1 # Revised: 20090320
2 #  Author: Tim Riker <Tim@Rikers.org>
3 #  Contributors: Simon C., Tim M., others (see AUTHORS)
4 ###
5
6 # Special entry
7 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
9 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
11 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
13 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
15 author: oznoid (mailto:lenzo@ri.cmu.edu) is my original author.
16
17 babelfish: D: Frontend to babelfish translating service provided by http://babelfish.altavista.com/ Note that utf8 is used for non-ascii characters.
18 babelfish: U: x <fromLang> <toLang> <words>
19 babelfish: U: translate <fromLang> <toLang> <words>
20 babelfish: E: x en de your cars rock
21
22 bandel: D: FIXME:
23 bandel: U: ## <mask|user>
24 bandel: E: ## *!*@owns.org
25 bandel: E: ## MoronMan
26
27 banadd: D: FIXME:
28 banadd: U: ## <mask|user> [chan] [time] [reason]
29 banadd: E: ## *!*@owns.org #bots 60 stop flooding.
30 banadd: E: ## *!*@*microsoft.com STOOPID
31 banadd: E: ## MoronMan
32
33 botmail: D: Send someone botmail
34 botmail: U: ## {for <who>[:] <message>}|stats|check|read
35 botmail: E: ## for infobot: you rock!
36 botmail: E: ## stats
37 botmail: E: ## check
38 botmail: E: ## read
39
40 chanadd: D: Join a channel permanently
41 chanadd: U: ## #channel
42 chanadd: E: ## #botpark
43
44 chandel: D: Leave a channel permanently
45 chandel: U: ## -#channel
46 chandel: E: ## -#botpark
47
48 chaninfo: D: Display channel statistics on Op, Ban, Deop, Unban, Part, Join, SignOff, PublicMsg, Kick and Topic
49 chaninfo: U: ## [#channel]
50 chaninfo: E: ##
51 chaninfo: E: ## #botpark
52
53 chanset: D: set a variable for a channel
54 chanset: U: ## [#chan] [what] [val]
55 chanset: E: ## #c +test
56 chanset: E: ## #c -test
57 chanset: E: ## #c test
58 chanset: E: ## #c test 0
59 chanset: E: ## #c test testing123
60
61 chanunset: D: remove a variable from a channel
62 chanunset: U: ## <#chan> [what]
63 chanunset: E: ## #c
64 chanunset: E: ## #c test
65
66 chattr: D: Change flags on a user (see "help flags")
67 chattr: U: ## <user> [flags]
68 chattr: E: ## bloot +nmo
69 chattr: E: ## bloot -ot
70 chattr: E: ## bloot
71
72 chnick: D: rename a nick (user) entry
73 chnick: U: ## [nick] <new-nick>
74 chnick: E: ## moron
75 chnick: E: ## owner eleet
76
77 chpass: D: Change a user's password
78 chpass: U: ## [user] <pass>
79 chpass: E: ## testing
80 chpass: E: ## testing test0R
81
82 contents: D: Debian Contents search only (no Packages)
83 contents: U: ## <string> [dist]
84 contents: E: ## strings.h
85 contents: E: ## x11amp potato
86
87 convert: D: Convert from one unit to another
88 convert: U: ## [number] <units> to <units>
89 convert: E: ## 55 degF to degC
90 convert: E: ## 60 mph to kph
91 convert: E: ## 60 miles per hour to km/hour
92 convert: E: ## gallons to cm^3
93
94 cookie: I can feed your appetite with random factoids.
95
96 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.
97 corrections: you can append stuff to a factoid with "also". "x is also at ..."
98
99 cpustats: cpustats dumps the bot's cpu usage this session
100
101 crypt: It's good that you thought about encryption. I can do it for you.
102 crypt: U: ## <salt> <string>
103 crypt: E: ## 69 changeme
104 crypt: E: ## $1$abcde changeme
105
106 cycle: D: Causes me to cycle in the channel it's said, or in the named channel
107 cycle: U: ## [channel]
108 cycle: E: ##
109 cycle: E: ## #botpark
110
111 dauthor: D: Find Debian package maintainers, and list the packages they maintain
112 dauthor: U: ## <string> [dist]
113 dauthor: E: ## Wichert
114 dauthor: E: ## Wichert potato
115
116 dbugs: D: Show the current count of release critical bugs (latest versions)
117 dbugs: U: ##
118
119 ddesc: D: Search the Description: lines in Debian packages
120 ddesc: U: ## <string> [dist]
121 ddesc: E: ## mule
122 ddesc: E: ## mule potato
123
124 dfind: D: Debian Packages (fallback to Contents) search
125 dfind: U: ## <string> [dist]
126 dfind: E: ## strings.h
127 dfind: E: ## x11amp potato
128
129 dict: D: DICT Protocol Client - likely dicts: elements web1913 wn gazetteer jargon foldoc easton hitchcock devils world02 vera
130 dict: U: ## [entry num] <query>[/dict]
131 dict: E: ## linux
132 dict: E: ## 33 set/wn
133
134 dns: D: Query DNS
135 dns: U: ## <host|ip>
136 dns: E: ## debian.org
137 dns: E: ## 3.1.33.7
138
139 do: D: operator command to do things in a channel
140 do: U: ## <chan> <what>
141
142 dollar variables: D: To be used in factoids
143 dollar variables: $Fdunno      - ...
144 dollar variables: $Fquestion   - ...
145 dollar variables: $Fupdate     - ...
146 dollar variables: $channel     - channel from which the factoid was requested
147 dollar variables: $date        - current date (GMT)
148 dollar variables: $day         - day of week (full name, locale)
149 dollar variables: $factoids    - factoid count
150 dollar variables: $host        - hostname of factoid requester
151 dollar variables: $ident       - bot nick
152 dollar variables: $lastspeaker - ...
153 dollar variables: $memusage    - ...
154 dollar variables: $rand        - random number, also $rand100.2
155 dollar variables: $randnick    - random nick
156 dollar variables: $startTime   - start time
157 dollar variables: $time        - current time (GMT)
158 dollar variables: $uptime      - ...
159 dollar variables: $urlchannel  - html encoded channel from which the factoid was requested
160 dollar variables: $user        - username of factoid requester
161 dollar variables: $who         - nick of factoid requester
162
163 dstats: D: Show basic stats on the current size of the Debian distros
164 dstats: U: ## [dist]
165 dstats: E: ##
166 dstats: E: ## potato
167
168 factinfo: D: View statistical information about a particular factoid.
169 factinfo: U: ## <factoid>
170 factinfo: E: ## test
171
172 factstats: D: Display statistical data (max of 15) about factoids.
173 factstats: U: ## <type>
174 factstats: == author    -- top author of factoids.
175 factstats: == deadredir -- ??
176 factstats: == duplicate -- duplicate factoids.
177 factstats: == listfix   -- ??
178 factstats: == locked    -- locked factoids.
179 factstats: == new       -- recent addition of factoids.
180 factstats: == nullfactoids -- ??
181 factstats: == partdupe  -- initial partial duplicate factoids.
182 factstats: == profanity -- possibly offensive factoids.
183 factstats: == redir     -- redirection in factoids.
184 factstats: == reqrate   -- ??
185 factstats: == requested -- most requested factoids.
186 factstats: == requesters -- most requested factoids.
187 factstats: == seefix    -- ??
188 factstats: == toolong   -- factoid {key|value} exceeding specified length.
189 factstats: == tooshort  -- factoid {key|value} shorter than specified length.
190 factstats: == total     -- ??
191 factstats: == unrequest -- unrequested factoids.
192 factstats: == vandalism -- ??
193 factstats: E: ## new
194
195 flags: D: Flags for chattr command
196 flags: D: "A" - bot administration over /msg (default is only via DCC CHAT)
197 flags: D: "O" - dynamic ops (as on channel). (automatic +o)
198 flags: D: "T" - add topics.
199 flags: D: "a" - ask/request factoid.
200 flags: D: "m" - modify all factoids. (includes renaming)
201 flags: D: "M" - modify own factoids. (includes renaming)
202 flags: D: "n" - bot owner, can "reload"
203 flags: D: "o" - master of bot (automatic +amrt)
204 flags: D:        - can search on factoid strings shorter than 2 chars
205 flags: D:        - can tell bot to join new channels
206 flags: D:        - can [un]lock factoids
207 flags: D: "r" - remove factoid.
208 flags: D: "t" - teach/add factoid.
209 flags: D: "s" - Bypass +silent on channels
210
211 forget: If I have an old/redundant factoid x, "forget x" will cause me to erase it.
212
213 freshmeat: D: Frontend to www.freshmeat.net
214 freshmeat: U: ## <query>
215 freshmeat: E: ## infobot
216
217 google: D: What Is: Google Search frontend
218 google: D: Configuration: "chanset [_default or channelname] +Google"
219 google: U: ## google <query>
220 google: E: ## google infobot
221
222 hex: D: Convert ascii to hex
223 hex: U: ## <string>
224 hex: E: ## carrot
225
226 hex2ip: D: Convert Hex idents for some gateways to an IP address
227 hex2ip: U: ## <8 char hex value>
228 hex2ip: E: ## AabBcC12
229
230 hostadd: D: admin command to list or add hostmasks to a user account
231 hostadd: U: ## [user] [<mask>]
232 hostadd: E: ## owner
233 hostadd: E: ## *!*@owns.org
234 hostadd: E: ## owner leet!leet@*.heh.org
235
236 hostdel: D: admin command to remove hostmask from a user account
237 hostdel: U: ## [user] <mask>
238 hostdel: E: ## *!*@owns.org
239 hostdel: E: ## owner leet!leet@*.heh.org
240
241 httpdtype: D: Get httpd server software version / configuration
242 httpdtype: U: ## <hostname>
243 httpdtype: E: ## example.com
244
245 ignore: D: ignore list management
246 ignore: E: ## [mask chan expire comment]
247 ignore: E: addignore guu!*@*
248
249 ircstats: ircstats dumps some status information on the bot's IRC connection
250
251 join: U: ## <#chan> [key]
252 join: E: ## #botpark
253 join: E: ## #botpark rules
254
255 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?". Karma updates must be in a channel, not private.
256
257 kernel: D: Frontend to linux.kernel.org's finger response.
258 kernel: U: ##
259
260 kick: U: ## <nick> [#chan] [message]
261 kick: E: ## oznoid
262 kick: E: ## larne #botpark
263 kick: E: ## john #foo go away!
264
265 lart: D: Luser Attitude Readjustment Tool
266 lart: U: ## [#chan] <who>
267 lart: E: ## lenzo infobot's bugginess
268 lart: E: ## #perl everyone perl \=\= lamerville
269
270 lc: D: lower case a given string
271 lc: U: ## <string>
272 lc: E: ## When will infobot achieve world domination?
273
274 listauth: D: Search the factoid extension db by creator
275 listauth: U: ## <search>
276 listauth: E: ## xk
277
278 listkeys: D: Search the factoid database by key (factoid)
279 listkeys: U: ## <regex>
280 listkeys: E: ## infobot
281
282 listvalues: D: Search the factoid database by value (description)
283 listvalues: U: ## <regex>
284 listvalues: E: ## infobot
285
286 literal: used to get a raw factoid contents. Use _default to ignore factoidSearch path.
287 literal: U: ## [_default|prefix] <factoid>
288 literal: E: ## infobot
289
290 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
291
292 lock: D: Factoid locking to prevent removal by others
293 lock: U: ## <factoid>
294 lock: E: ## abuse
295 lock: N: By default, only registered "ops" on the bots or factoids matching the user's nick are able to lock factoids.
296 lock: N: Requires factoid extension (extra) support enabled.
297
298 math: D: math expresions can be evaluated. This uses Perl syntax.
299 math: E: 1+1
300 math: + - add
301 math: - - subtract
302 math: * - multiply
303 math: / - division
304 math: ** - to the power
305 math: pi - pi
306 math: & - and
307 math: | = or
308 math: ^ - xor
309
310 md5: D: calculates the md5sum of a given string
311 md5: U: ## <string>
312 md5: E: ## When will infobot achieve world domination?
313
314 mode: set modes for a channel
315 mode: U: ## <#chan> <mode>
316 mode: E: ## #botpark +t
317 mode: E: ## #botpark -i
318
319 news: D: News functions
320 news: U: ## [chan] <add,del,mod,set,latest,read,help>
321
322 news add: D: Add news items
323 news add: U: news [chan] add <title>
324 news add: E: news add This is a test
325 news add: see _news set Text_ aswell
326
327 news set: D: Set stuff for news item
328 news set: U: news [chan] set <item> <what> [value]
329 news set:    valid <what>: Expire, Text
330 news set: E: news set 1 Text ok, this works
331 news set: E: news set test Text and this is a test
332 news set: E: news set test Text
333
334 news set expire: D: Set expire for news item
335 news set expire: U: news [chan] expire <what> <value>
336 news set expire: value can be: Xd Xh Xm Xs
337 news set expire: value can be: never
338 news set expire: news expire 1 3days
339 news set expire: news expire 2 +20d
340 news set expire: news expire Test 30d 20h 10m 5s
341 news set expire: news expire TEST never
342
343 news del: D: Delete news item (requires +o or be author)
344 news del: U: news [chan] del <item>
345 news del: E: news del 1
346 news del: E: news del test
347
348 news mod: D: Modify a news item (todo: modify Text aswell)
349 news mod: E: news [chan] mod <item> s/<from>/<to>/[g]
350 news mod: E: news mod 1 s/test/Test/
351 news mod: E: news mod test s/test/Test/g
352
353 nickometer: D: Measures the lame-ness of a nick or channel
354 nickometer: U: ## {nick,channel}
355 nickometer: E: ## unknown_lamer
356 nickometer: E: ## #botpark
357
358 onjoin: D: get/set OnJoin message (needs chan option +OnJoin)
359 onjoin: U: ## [#chan|_default] [-]<nick> [message]
360 onjoin: E: ## infobot Hey! It's another infobot!
361
362 ord: D: Convert ascii to decimal
363 ord: U: ## <single character>
364 ord: E: ## c
365
366 page: D: Send someone a pager message
367 page: U: ## <who> <message>
368 page: E: ## infobot you rock!
369 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"
370
371 part: D: Leave a channel (DCC only)
372 part: U: ## <#channel>
373 part: E: ## #botpark
374 part: NOTE: /kick is an alternative
375
376 piglatin: D: translates english text into piglatin
377 piglatin: U: ## <string>
378 piglatin: E: ## When will infobot achieve world domination?
379
380 quote: D: Frontend to yahoo's online stock market share listing
381 quote: U: ## <query...>
382 quote: E: ## RHAT,MSFT
383
384 redirection: If a factoid x contains simply "<reply> see y", then when asked for x, I will deliver factoidor command result y instead.
385
386 rename: D: Factoid renaming
387 rename: U: ## 'from' 'to'
388 rename: E: ## 'infobot' 'infobot'
389
390 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".
391
392 reverse: D: reverses a given string
393 reverse: U: ## <string>
394 reverse: E: ## When will infobot achieve world domination?
395
396 rot13: D: ROT13's a given string
397 rot13: U: ## <string>
398 rot13: E: ## guvf vf n ynzr rknzcyr
399
400 say: D: operator command to say things in a channel
401 say: U: ## <chan> <what>
402
403 scramble: D: scrambles a given string
404 scramble: U: ## <string>
405 scramble: E: ## When will infobot achieve world domination?
406
407 search: U: ## <engine> for <string>
408 search: E: ## google for infobot
409
410 seen: D: Report last seen time for somebody
411 seen: U: ## <nick>
412 seen: E: ## infobot
413
414 slashdot: D: News for nerds, Stuff that matters. [tm] (shows the headlines)
415 slashdot: U: ##
416
417 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.
418
419 status: status dumps general status information
420
421 tell: D: Tell someone about a factoid or command
422 tell: U: ## <who> -?about <what>
423 tell: E: ## me about infobot
424 tell: E: ## someone -about testing
425
426 topic add: D: Add your own topic
427 topic add: U: ## <topic>
428 topic add: E: ## This is a test
429
430 topic del: D: Delete one or two subtopics
431 topic del: U: ## <#>
432 topic del: E: ## 1
433 topic del: E: ## 1-3,5
434 topic del: E: ## last
435
436 topic mod: D: Search and replace strings in the topic
437 topic mod: U: ## <REGEX>
438 topic mod: E: ## s/test/TEST/
439 topic mod: E: ## s#msg test#/msg test#g
440
441 topic mv: D: Move subtopics around.
442 topic mv: U: ## <#> <before|after|swap> <#>
443 topic mv: E: ## 1 after 2
444 topic mv: E: ## first before last
445
446 topic restore: D: Restores the topic to an earlier version
447 topic restore: U: ## <#>
448 topic restore: E: ## 3
449
450 topic: Usage for 'topic [#chan] <params>':
451 topic:   ---------------- __Subtopic__:
452 topic:   add <TOPIC>    - Append <TOPIC> to topic.
453 topic:   del <#>        - Remove subtopic <#> from topic.
454 topic:   list           - Display subtopics.
455 topic:   mod s/old/new/ - Search and replace topic.
456 topic:   mv <ARGS>      - 'topic mv'.
457 topic:   shuffle        - Randomly organize subtopics.
458 topic:   ---------------- __Topic__
459 topic:   history        - Show previous topics.
460 topic:   restore <#>    - Restore topic to <#>.
461 topic:   rehash         - Rehash changes to topic.
462 topic:   info           - Who and time info.
463 topic:   ---------------- __Misc__
464 topic:   about          - Read the file :)
465 topic:   help           - This screen.
466
467 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.
468 topic: NOTE: commands can be preceeded? with '-' in order not to enforce changes to topic.
469 topic: End of help.
470
471 uc: D: upper case a given string
472 uc: U: ## <string>
473 uc: E: ## When will infobot achieve world domination?
474
475 unforget: If a factoid has been forgotten, "unforget x" will cause me to unerase it.
476
477 unlobotomy: Not possible in real life, an unlobotomy will bring me back to life in the case of a lobotomy.
478
479 unlock: D: Factoid unlocking to allow removal by others.
480 unlock: U: ## <factoid>
481 unlock: E: ## abuse
482
483 upsidedown: D: display a string in pseudo upside down unicode text
484 upsidedown: U: ## <string>
485 upsidedown: E: ## When will infobot achieve world domination?
486
487 uptime: D: Show the current uptime, and the top 3 uptimes recorded
488 uptime: U: ##
489
490 useradd: D: Administrative command to add new user to the .users file
491 useradd: U: ## <user> <mask>
492 useradd: E: ## SomeAccount SomeAccount!someguy@example.com
493
494 userdel: D: Administrative command to remove a user from the .users file
495 userdel: U: ## <user>
496 userdel: E: ## SomeAccount
497
498 verstats: D: Commnd to CTCP VERSION the specified channel for client statistics
499 verstats: U: ## <channel>
500 verstats: E: ## #infobot
501 verstats: E: < infobot> IRC Client versions for #infobot (2): unknown/cloak - 3 (75%) ;; irssi - 1 (25%).
502
503 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).
504
505 whois: D: List available information for an account on the bot
506 whois: U: ## <account>
507 whois: E: ## SomeAccount
508
509 wikipedia: D: Frontend to the Wikipedia at http://www.wikipedia.org/wiki/ Note that utf8 is used for non-ascii characters.
510 wikipedia: U: ## <topic>
511 wikipedia: U: wiki <topic>
512 wikipedia: E: wiki irc
513
514 wtf: D: Interface to the BSD wtf command
515 wtf: U: ## <abbreviation>
516 wtf: E: ## iirc
517
518 rssfeeds: D: rssfeeds is used to control the RSS Feed tracking module
519 rssfeeds: U: rssfeeds [command]
520 rssfeeds: E: rssfeeds flush
521 rssfeeds: D: flush - Will erase the cache file. (Must be chattr +o)
522 rssfeeds: D: update - Force a manual update of the feeds. (Must be chattr +o)
523
524 # vim:ts=4:sw=4:expandtab:tw=80