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