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