]> git.donarmstrong.com Git - infobot.git/blob - files/blootbot.help
63fa50790cfcc32126d2939c295929c8a505b514
[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]
86 kick: E: ## oznoid
87 kick: E: ## larne #debian
88
89 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).
90
91 chaninfo: D: Display channel statistics on Op, Ban, Deop, Unban, Part, Join, SignOff, PublicMsg, Kick and Topic
92 chaninfo: U: ## [#channel]
93 chaninfo: E: ##
94 chaninfo: E: ## #debian
95
96 dict: D: DICT Protocol Client
97 dict: U: ## <query>
98 dict: E: ## AI
99 dict: E: ## 1 linux
100
101 freshmeat: D: Frontend to www.freshmeat.net
102 freshmeat: U: ## <query>
103 freshmeat: E: ## blootbot
104
105 factstats: D: Display statistical data (max of 15) about factoids.
106 factstats: U: ## <type>
107 factstats: == author    -- top author of factoids.
108 factstats: == deadredir -- ??
109 factstats: == duplicate -- duplicate factoids.
110 factstats: == listfix   -- ??
111 factstats: == locked    -- locked factoids.
112 factstats: == new       -- recent addition of factoids.
113 factstats: == nullfactoids -- ??
114 factstats: == partdupe  -- initial partial duplicate factoids.
115 factstats: == profanity -- possibly offensive factoids.
116 factstats: == redir     -- redirection in factoids.
117 factstats: == reqrate   -- ??
118 factstats: == requested -- most requested factoids.
119 factstats: == requesters -- most requested factoids.
120 factstats: == seefix    -- ??
121 factstats: == toolong   -- factoid {key|value} exceeding specified length.
122 factstats: == tooshort  -- factoid {key|value} shorter than specified length.
123 factstats: == total     -- ??
124 factstats: == unrequest -- unrequested factoids.
125 factstats: == vandalism -- ??
126 factstats: E: ## new
127
128 lart: D: Luser Attitude Readjustment Tool
129 lart: U: ## [#chan] <who>
130 lart: E: ## lenzo infobot's bugginess
131 lart: E: ## #perl everyone perl \=\= lamerville
132
133 listauth: D: Search the factoid extension db by creator
134 listauth: U: ## <search>
135 listauth: E: ## xk
136
137 listkeys: D: Search the factoid database by key (factoid)
138 listkeys: U: ## <regex>
139 listkeys: E: ## blootbot
140
141 listvalues: D: Search the factoid database by value (description)
142 listvalues: U: ## <regex>
143 listvalues: E: ## blootbot
144
145 quote: D: Frontend to yahoo's online stock market share listing
146 quote: U: ## <query...>
147 quote: E: ## RHAT,MSFT
148
149 topic add: D: Add your own topic
150 topic add: U: ## <topic>
151 topic add: E: ## This is a test
152
153 topic del: D: Delete one or two subtopics
154 topic del: U: ## <#>
155 topic del: E: ## 1
156 topic del: E: ## 1-3,5
157 topic del: E: ## last
158
159 topic mod: D: Search and replace strings in the topic
160 topic mod: U: ## <REGEX>
161 topic mod: E: s/test/TEST/
162 topic mod: E: s#msg test#/msg test#g
163
164 topic mv: D: Move subtopics around.
165 topic mv: U: ## <#> <before|after|swap> <#>
166 topic mv: E: ## 1 after 2
167 topic mv: E: ## first before last
168
169 topic restore: D: Restores the topic to an earlier version
170 topic restore: U: ## <#>
171 topic restore: E: ## 3
172
173 topic: Usage for 'topic [#chan] <params>':
174 topic:   ---------------- __Subtopic__:
175 topic:   add <TOPIC>    - Append <TOPIC> to topic.
176 topic:   del <#>        - Remove subtopic <#> from topic.
177 topic:   list           - Display subtopics.
178 topic:   mod s/old/new/ - Search and replace topic.
179 topic:   mv <ARGS>      - 'topic mv'.
180 topic:   shuffle        - Randomly organize subtopics.
181 topic:   ---------------- __Topic__
182 topic:   history        - Show previous topics.
183 topic:   restore <#>    - Restore topic to <#>.
184 topic:   rehash         - Rehash changes to topic.
185 topic:   info           - Who and time info.
186 topic:   ---------------- __Misc__
187 topic:   about          - Read the file :)
188 topic:   help           - This screen.
189 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.
190 topic: NOTE: commands can be preceeded? with '-' in order not to enforce changes to topic.
191 topic: End of help.
192
193 part: D: Leave a channel (DCC only)
194 part: U: ## <#channel>
195 part: E: ## #debian
196 part: NOTE: /kick is an alternative
197
198 seen: D: Report last seen time for somebody
199 seen: U: ## <nick>
200 seen: E: ## blootbot
201
202 factinfo: D: View statistical information about a particular factoid.
203 factinfo: U: ## <factoid>
204 factinfo: E: ## test
205
206 cookie: I can feed your appetite with random factoids.
207
208 slashdot: D: News for nerds, Stuff that matters. [tm] (shows the headlines)
209 slashdot: U: ##
210
211 babelfish: D: Frontend to babelfish translating service provided by http://babelfish.altavista.com/ Note that utf8 is used for non-ascii characters.
212 babelfish: U: x <fromLang> <toLang> <words>
213 babelfish: U: translate <fromLang> <toLang> <words>
214 babelfish: E: x en de your cars rock
215
216 search: U: ## <engine> for <string>
217 search: E: ## google for evil
218
219 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?"
220
221 kernel: D: Frontend to linux.kernel.org's finger response.
222 kernel: U: ##
223
224 lock: D: Factoid locking to prevent removal by others.
225 lock: U: ## <factoid>
226 lock: E: ## abuse
227 lock: N: By default, only registered "ops" on the bots or factoids matching the user's nick are able to lock factoids.
228 lock: N: Requires factoid extension (extra) support enabled.
229
230 unlock: D: Factoid unlocking to allow removal by others.
231 unlock: U: ## <factoid>
232 unlock: E: ## abuse
233
234 dollar variables: D: To be used in factoids
235 dollar variables: $Fdunno      - ...
236 dollar variables: $Fquestion   - ...
237 dollar variables: $Fupdate     - ...
238 dollar variables: $channel     - channel from which the factoid was requested
239 dollar variables: $date        - current date
240 dollar variables: $factoids    - factoid count
241 dollar variables: $host        - hostname of factoid requester
242 dollar variables: $ident       - bot nick
243 dollar variables: $lastspeaker - ...
244 dollar variables: $memusage    - ...
245 dollar variables: $rand        - random number, also $rand100.2
246 dollar variables: $randnick    - random nick
247 dollar variables: $startTime   - start time
248 dollar variables: $time        - current time
249 dollar variables: $uptime      - ...
250 dollar variables: $user        - username of factoid requester
251 dollar variables: $who         - nick of factoid requester
252
253 chanset: D: FIXME
254 chanset: U: ## [#chan] [what] [val]
255 chanset: E: ## #c +test
256 chanset: E: ## #c -test
257 chanset: E: ## #c test
258 chanset: E: ## #c test testing123
259
260 chanunset: D: FIXME.
261 chanunset: U: ## <#chan> [what]
262 chanunset: E: ## #c
263 chanunset: E: ## #c test
264
265 chpass: D: FIXME.
266 chpass: U: ## [user] <pass>
267 chpass: E: ## testing
268 chpass: E: ## testing test0R
269
270 chattr: D: FIXME.
271 chattr: U: ## <user> [flags]
272 chattr: E: ## bloot +nmo
273 chattr: E: ## bloot -ot
274 chattr: E: ## bloot
275
276 chnick: D: FIXME.
277 chnick: U: ## [nick] <new-nick>
278 chnick: E: ## moron
279 chnick: E: ## owner eleet
280
281 +host: D: FIXME.
282 +host: U: ## [user] <mask>
283 +host: E: ## *!*@owns.org
284 +host: E: ## owner leet!leet@*.heh.org
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 +ban: D: FIXME.
292 +ban: U: ## <mask|user> [chan] [time] [reason]
293 +ban: E: ## *!*@owns.org #bots 60 stop flooding.
294 +ban: E: ## *!*@*microsoft.com STOOPID
295 +ban: E: ## MoronMan
296
297 -ban: D: FIXME.
298 -ban: U: ## <mask|user>
299 -ban: E: ## *!*@owns.org
300 -ban: E: ## MoronMan
301
302 ircstats: ircstats dumps some status information on the bot's IRC connection
303
304 status: status dumps general status information
305
306 cpustats: cpustats dumps the bot's cpu usage this session
307
308 ord: D: Convert ascii to decimal
309 ord: U: ## <single character>
310 ord: E: ## c
311
312 hex: D: Convert ascii to hex
313 hex: U: ## <string>
314 hex: E: ## carrot
315
316 cycle: D: Causes me to cycle in the channel it's said, or in the named channel
317 cycle: U: ## [channel]
318 cycle: E: ##
319 cycle: E: ## #debian-bots
320
321 rot13: D: ROT13's the given string
322 rot13: U: ## <string>
323 rot13: E: ## guvf vf n ynzr rknzcyr
324
325 nickometer: D: Measures the lame-ness of a nick or channel
326 nickometer: U: ## {nick,channel}
327 nickometer: E: ## unknown_lamer
328 nickometer: E: ## #debian-bots
329
330 news: D: News functin
331 news: U: ## [chan] <add,del,mod,set,latest,read,help>
332
333 news add: D: Add news items
334 news add: U: news [chan] add <title>
335 news add: E: news add This is a test
336 news add: see _news set Text_ aswell
337
338 news set: D: Set stuff for news item
339 news set: U: news [chan] set <item> <what> [value]
340 news set:    valid <what>: Expire, Text
341 news set: E: news set 1 Text ok, this works
342 news set: E: news set test Text and this is a test
343 news set: E: news set test Text
344
345 news set expire: D: Set expire for news item
346 news set expire: U: news [chan] expire <what> <value>
347 news set expire: value can be: Xd Xh Xm Xs
348 news set expire: value can be: never
349 news set expire: news expire 1 3days
350 news set expire: news expire 2 +20d
351 news set expire: news expire Test 30d 20h 10m 5s
352 news set expire: news expire TEST never
353
354 news del: D: Delete news item (requires +o or be author)
355 news del: U: news [chan] del <item>
356 news del: E: news del 1
357 news del: E: news del test
358
359 news mod: D: Modify a news item (todo: modify Text aswell)
360 news mod: E: news [chan] mod <item> s/<from>/<to>/[g]
361 news mod: E: news mod 1 s/test/Test/
362 news mod: E: news mod test s/test/Test/g
363
364 tell: D: Tell someone about a factoid or command
365 tell: U: tell <who> -?about <what>
366 tell: E: tell me about blootbot
367 tell: E: tell someone -about testing