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