]> git.donarmstrong.com Git - infobot.git/blob - files/blootbot.help
topic -> Topic
[infobot.git] / files / blootbot.help
1 # Revised: 19991109.
2 #  Author: xk
3 ###
4
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?"
6
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 "* blootbot does the hokey-pokey"
8
9 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.
10
11 author: oznoid (mailto:lenzo@ri.cmu.edu) is my original author.
12
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
19 dollar variables: $factoids    - factoid count
20 dollar variables: $host        - hostname of factoid requester
21 dollar variables: $ident       - bot nick
22 dollar variables: $lastspeaker - ...
23 dollar variables: $memusage    - ...
24 dollar variables: $rand        - random number, also $rand100.2
25 dollar variables: $randnick    - random nick
26 dollar variables: $startTime   - start time
27 dollar variables: $time        - current time
28 dollar variables: $uptime      - ...
29 dollar variables: $user        - username of factoid requester
30 dollar variables: $who         - nick of factoid requester
31
32 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.
33 corrections: you can append stuff to a factoid with "also". "x is also at ..."
34
35 math: D: math expresions can be evaluated. This uses Perl syntax.
36 math: E: 1+1
37 math: + - add
38 math: - - subtract
39 math: * - multiply
40 math: / - division
41 math: ** - to the power
42 math: pi - pi
43 math: & - and
44 math: | = or
45 math: ^ - xor
46
47 redirection: If a factoid x contains simply "<reply> see y", then when asked for x, I will deliver factoidor command result y instead.
48
49 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".
50
51 # now the commands...
52 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)
53
54 babelfish: D: Frontend to babelfish translating service provided by http://babelfish.altavista.com/ Note that utf8 is used for non-ascii characters.
55 babelfish: U: x <fromLang> <toLang> <words>
56 babelfish: U: translate <fromLang> <toLang> <words>
57 babelfish: E: x en de your cars rock
58
59 -ban: D: FIXME:
60 -ban: U: ## <mask|user>
61 -ban: E: ## *!*@owns.org
62 -ban: E: ## MoronMan
63
64 +ban: D: FIXME:
65 +ban: U: ## <mask|user> [chan] [time] [reason]
66 +ban: E: ## *!*@owns.org #bots 60 stop flooding.
67 +ban: E: ## *!*@*microsoft.com STOOPID
68 +ban: E: ## MoronMan
69
70 botmail: D: Send someone botmail
71 botmail: U: ## {for <who>[:] <message>}|stats|check|read
72 botmail: E: ## for infobot: you rock!
73 botmail: E: ## stats
74 botmail: E: ## check
75 botmail: E: ## read
76
77 -chan: D: Leave a channel permanently
78 -chan: U: ## -#channel
79 -chan: E: ## -#botpark
80
81 +chan: D: Join a channel permanently
82 +chan: U: ## #channel
83 +chan: E: ## #botpark
84
85 chaninfo: D: Display channel statistics on Op, Ban, Deop, Unban, Part, Join, SignOff, PublicMsg, Kick and Topic
86 chaninfo: U: ## [#channel]
87 chaninfo: E: ##
88 chaninfo: E: ## #botpark
89
90 chanset: D: set a variable for a channel
91 chanset: U: ## [#chan] [what] [val]
92 chanset: E: ## #c +test
93 chanset: E: ## #c -test
94 chanset: E: ## #c test
95 chanset: E: ## #c test testing123
96
97 chanunset: D: remove a variable from a channel
98 chanunset: U: ## <#chan> [what]
99 chanunset: E: ## #c
100 chanunset: E: ## #c test
101
102 chattr: D: Change flags on a user (see @regFlagsUser in source)
103 chattr: U: ## <user> [flags]
104 chattr: E: ## bloot +nmo
105 chattr: E: ## bloot -ot
106 chattr: E: ## bloot
107
108 chnick: D: rename a nick (user) entry
109 chnick: U: ## [nick] <new-nick>
110 chnick: E: ## moron
111 chnick: E: ## owner eleet
112
113 chpass: D: Change a user's password
114 chpass: U: ## [user] <pass>
115 chpass: E: ## testing
116 chpass: E: ## testing test0R
117
118 contents: D: Debian Contents search only (no Packages)
119 contents: U: ## <string> [dist]
120 contents: E: ## strings.h
121 contents: E: ## x11amp potato
122
123 cookie: I can feed your appetite with random factoids.
124
125 cpustats: cpustats dumps the bot's cpu usage this session
126
127 crypt: It's good that you thought about encryption. I can do it for you.
128 crypt: U: ## <salt> <string>
129 crypt: E: ## 69 changeme
130
131 cycle: D: Causes me to cycle in the channel it's said, or in the named channel
132 cycle: U: ## [channel]
133 cycle: E: ##
134 cycle: E: ## #botpark
135
136 dauthor: D: Find Debian package maintainers, and list the packages they maintain
137 dauthor: U: ## <string> [dist]
138 dauthor: E: ## Wichert
139 dauthor: E: ## Wichert potato
140
141 dbugs: D: Show the current count of release critical bugs (latest versions)
142 dbugs: U: ##
143
144 ddesc: D: Search the Description: lines in Debian packages
145 ddesc: U: ## <string> [dist]
146 ddesc: E: ## mule
147 ddesc: E: ## mule potato
148
149 dfind: D: Debian Packages (fallback to Contents) search
150 dfind: U: ## <string> [dist]
151 dfind: E: ## strings.h
152 dfind: E: ## x11amp potato
153
154 dict: D: DICT Protocol Client
155 dict: U: ## <query>
156 dict: E: ## AI
157 dict: E: ## 1 linux
158
159 do: D: operator command to do things in a channel
160 do: U: ## <chan> <what>
161
162 dstats: D: Show basic stats on the current size of the Debian distros
163 dstats: U: ## [dist]
164 dstats: E: ##
165 dstats: E: ## potato
166
167 factinfo: D: View statistical information about a particular factoid.
168 factinfo: U: ## <factoid>
169 factinfo: E: ## test
170
171 factstats: D: Display statistical data (max of 15) about factoids.
172 factstats: U: ## <type>
173 factstats: == author    -- top author of factoids.
174 factstats: == deadredir -- ??
175 factstats: == duplicate -- duplicate factoids.
176 factstats: == listfix   -- ??
177 factstats: == locked    -- locked factoids.
178 factstats: == new       -- recent addition of factoids.
179 factstats: == nullfactoids -- ??
180 factstats: == partdupe  -- initial partial duplicate factoids.
181 factstats: == profanity -- possibly offensive factoids.
182 factstats: == redir     -- redirection in factoids.
183 factstats: == reqrate   -- ??
184 factstats: == requested -- most requested factoids.
185 factstats: == requesters -- most requested factoids.
186 factstats: == seefix    -- ??
187 factstats: == toolong   -- factoid {key|value} exceeding specified length.
188 factstats: == tooshort  -- factoid {key|value} shorter than specified length.
189 factstats: == total     -- ??
190 factstats: == unrequest -- unrequested factoids.
191 factstats: == vandalism -- ??
192 factstats: E: ## new
193
194 forget: If I have an old/redundant factoid x, "forget x" will cause me to erase it.
195
196 freshmeat: D: Frontend to www.freshmeat.net
197 freshmeat: U: ## <query>
198 freshmeat: E: ## blootbot
199
200 hex: D: Convert ascii to hex
201 hex: U: ## <string>
202 hex: E: ## carrot
203
204 httpdtype: D: Get httpd server software version / configuration
205 httpdtype: U: ## <hostname>
206 httpdtype: E: ## example.com
207
208 ignore: D: ignore list management
209 ignore: E: ## [mask chan expire comment]
210 ignore: E: addignore guu!*@*
211
212 ircstats: ircstats dumps some status information on the bot's IRC connection
213
214 join: U: ## <#chan> [key]
215 join: E: ## #botpark
216 join: E: ## #botpark rules
217
218 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?"
219
220 kernel: D: Frontend to linux.kernel.org's finger response.
221 kernel: U: ##
222
223 kick: U: ## <nick> [#chan] [message]
224 kick: E: ## oznoid
225 kick: E: ## larne #botpark
226 kick: E: ## john #foo go away!
227
228 lart: D: Luser Attitude Readjustment Tool
229 lart: U: ## [#chan] <who>
230 lart: E: ## lenzo infobot's bugginess
231 lart: E: ## #perl everyone perl \=\= lamerville
232
233 listauth: D: Search the factoid extension db by creator
234 listauth: U: ## <search>
235 listauth: E: ## xk
236
237 listkeys: D: Search the factoid database by key (factoid)
238 listkeys: U: ## <regex>
239 listkeys: E: ## blootbot
240
241 listvalues: D: Search the factoid database by value (description)
242 listvalues: U: ## <regex>
243 listvalues: E: ## blootbot
244
245 literal: used to get a raw factoid contents. Use _default to ignore factoidSearch path.
246 literal: U: ## [_default|prefix] <factoid>
247 literal: E: ## blootbot
248
249 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
250
251 lock: D: Factoid locking to prevent removal by others
252 lock: U: ## <factoid>
253 lock: E: ## abuse
254 lock: N: By default, only registered "ops" on the bots or factoids matching the user's nick are able to lock factoids.
255 lock: N: Requires factoid extension (extra) support enabled.
256
257 mode: set modes for a channel
258 mode: U: ## <#chan> <mode>
259 mode: E: ## #botpark +t
260 mode: E: ## #botpark -i
261
262 news: D: News functions
263 news: U: ## [chan] <add,del,mod,set,latest,read,help>
264
265 news add: D: Add news items
266 news add: U: news [chan] add <title>
267 news add: E: news add This is a test
268 news add: see _news set Text_ aswell
269
270 news set: D: Set stuff for news item
271 news set: U: news [chan] set <item> <what> [value]
272 news set:    valid <what>: Expire, Text
273 news set: E: news set 1 Text ok, this works
274 news set: E: news set test Text and this is a test
275 news set: E: news set test Text
276
277 news set expire: D: Set expire for news item
278 news set expire: U: news [chan] expire <what> <value>
279 news set expire: value can be: Xd Xh Xm Xs
280 news set expire: value can be: never
281 news set expire: news expire 1 3days
282 news set expire: news expire 2 +20d
283 news set expire: news expire Test 30d 20h 10m 5s
284 news set expire: news expire TEST never
285
286 news del: D: Delete news item (requires +o or be author)
287 news del: U: news [chan] del <item>
288 news del: E: news del 1
289 news del: E: news del test
290
291 news mod: D: Modify a news item (todo: modify Text aswell)
292 news mod: E: news [chan] mod <item> s/<from>/<to>/[g]
293 news mod: E: news mod 1 s/test/Test/
294 news mod: E: news mod test s/test/Test/g
295
296 nickometer: D: Measures the lame-ness of a nick or channel
297 nickometer: U: ## {nick,channel}
298 nickometer: E: ## unknown_lamer
299 nickometer: E: ## #botpark
300
301 nslookup: D: Query DNS
302 nslookup: U: ## <host|ip>
303 nslookup: E: ## debian.org
304 nslookup: E: ## 3.1.33.7
305
306 ord: D: Convert ascii to decimal
307 ord: U: ## <single character>
308 ord: E: ## c
309
310 page: D: Send someone a pager message
311 page: U: ## <who> <message>
312 page: E: ## infobot you rock!
313 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"
314
315 part: D: Leave a channel (DCC only)
316 part: U: ## <#channel>
317 part: E: ## #botpark
318 part: NOTE: /kick is an alternative
319
320 quote: D: Frontend to yahoo's online stock market share listing
321 quote: U: ## <query...>
322 quote: E: ## RHAT,MSFT
323
324 rename: D: Factoid renaming
325 rename: U: ## 'from' 'to'
326 rename: E: ## 'infobot' 'blootbot'
327
328 rot13: D: ROT13's the given string
329 rot13: U: ## <string>
330 rot13: E: ## guvf vf n ynzr rknzcyr
331
332 say: D: operator command to say things in a channel
333 say: U: ## <chan> <what>
334
335 search: U: ## <engine> for <string>
336 search: E: ## google for blootbot
337
338 seen: D: Report last seen time for somebody
339 seen: U: ## <nick>
340 seen: E: ## blootbot
341
342 slashdot: D: News for nerds, Stuff that matters. [tm] (shows the headlines)
343 slashdot: U: ##
344
345 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.
346
347 status: status dumps general status information
348
349 tell: D: Tell someone about a factoid or command
350 tell: U: ## <who> -?about <what>
351 tell: E: ## me about blootbot
352 tell: E: ## someone -about testing
353
354 topic add: D: Add your own topic
355 topic add: U: ## <topic>
356 topic add: E: ## This is a test
357
358 topic del: D: Delete one or two subtopics
359 topic del: U: ## <#>
360 topic del: E: ## 1
361 topic del: E: ## 1-3,5
362 topic del: E: ## last
363
364 topic mod: D: Search and replace strings in the topic
365 topic mod: U: ## <REGEX>
366 topic mod: E: ## s/test/TEST/
367 topic mod: E: ## s#msg test#/msg test#g
368
369 topic mv: D: Move subtopics around.
370 topic mv: U: ## <#> <before|after|swap> <#>
371 topic mv: E: ## 1 after 2
372 topic mv: E: ## first before last
373
374 topic restore: D: Restores the topic to an earlier version
375 topic restore: U: ## <#>
376 topic restore: E: ## 3
377
378 topic: Usage for 'topic [#chan] <params>':
379 topic:   ---------------- __Subtopic__:
380 topic:   add <TOPIC>    - Append <TOPIC> to topic.
381 topic:   del <#>        - Remove subtopic <#> from topic.
382 topic:   list           - Display subtopics.
383 topic:   mod s/old/new/ - Search and replace topic.
384 topic:   mv <ARGS>      - 'topic mv'.
385 topic:   shuffle        - Randomly organize subtopics.
386 topic:   ---------------- __Topic__
387 topic:   history        - Show previous topics.
388 topic:   restore <#>    - Restore topic to <#>.
389 topic:   rehash         - Rehash changes to topic.
390 topic:   info           - Who and time info.
391 topic:   ---------------- __Misc__
392 topic:   about          - Read the file :)
393 topic:   help           - This screen.
394
395 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.
396 topic: NOTE: commands can be preceeded? with '-' in order not to enforce changes to topic.
397 topic: End of help.
398
399 unforget: If a factoid has been forgotten, "unforget x" will cause me to unerase it.
400
401 unlobotomy: Not possible in real life, an unlobotomy will bring me back to life in the case of a lobotomy.
402
403 unlock: D: Factoid unlocking to allow removal by others.
404 unlock: U: ## <factoid>
405 unlock: E: ## abuse
406
407 uptime: D: Show the current uptime, and the top 3 uptimes recorded
408 uptime: U: ##
409
410 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).
411
412 wikipedia: D: Frontend to the Wikipedia at http://www.wikipedia.org/wiki/ Note that utf8 is used for non-ascii characters.
413 wikipedia: U: ## <topic>
414 wikipedia: U: wiki <topic>
415 wikipedia: E: wiki irc
416
417 -host: D: admin command to remove hostmask from a user account
418 -host: U: ## [user] <mask>
419 -host: E: ## *!*@owns.org
420 -host: E: ## owner leet!leet@*.heh.org
421
422 +host: D: admin command to list or add hostmasks to a user account
423 +host: U: ## [user] [<mask>]
424 +host: E: ## owner
425 +host: E: ## *!*@owns.org
426 +host: E: ## owner leet!leet@*.heh.org