chiark / gitweb /
Merge up from trunk. cvs up -j branchpoint-2001-10-09-tell -j mergeup-1-2001-10...
[ircbot] / helpinfos
... / ...
CommitLineData
1::wwwtitle Blight (chiark IRC bot) help
2::wwwaddress chiark IRC operators <ircop@chiark>
3
4:
5See http://www.chiark.greenend.org.uk/ucgi/~ijackson/blight-help
6or /msg me with `help !overview'.
7
8:overview
9General commands: Registration and user settings:
10 !help [<cmd>|<opt>|<topic>] !register [insecure|delete]
11 !seen <nick> !set [<opt> [<value>]] who [<nick>]
12 !summon <username> (See `help !identify', `help !blight-id')
13 !invite [<chan>] <nick>... For channel managers (see `help channel'):
14 !leave [<chan>] !channel [<chan>] <setting> [....]
15 !ping [<stuff ...>] !op [<chan>]
16 !tell <nick> <message ...> Additional help topics:
17 !kill <nick> [<reason>] !identify !identpass !invite !blight-id
18Send commands to me by /msg, or say them in channel with \! in front.
19To get me on a channel, invite me. To become channel manager, op me.
20
21:help
22help gives an overview and lists the topics &c
23help <command> gives help on a command
24help <opt> gives help on an option
25help <topic> gives help on an additional topic
26
27:tell
28tell <nick> <message ...>
29 Leaves a message for someone, which will be delivered according to
30 their `!set !tellme'. I will tell you about your undelivered tells
31 whenever I see you arriving, or when you say `!ping'. See also
32 `help !untell' and `help !delmsg'.
33
34:untell
35!untell <nick> ...
36 Forgets about all message(s) you've sent with !tell to particular
37 nick(s). Use !delmsg to delete messages sent *to* you. There is no
38 way to untell individual messages to the same nick. If your nick is
39 secure, you must !identify yourself to use untell.
40
41:tellme
42The !tellme command repeats any messages you have outstanding.
43!set tellme configures how you receive messages sent with !tell:
44 set tellme insecure When I see you.
45 set tellme secure [<!interval>] Hide body (reminding) until ident.
46 set tellme refuse Do not accept messages.
47 set tellme mailto <email-addr> By email. (Secure nicks only.)
48Default: `secure 600'. For insecure nicks `secure' == `insecure'.
49To set when to consider messages delivered (see `help !untell'):
50 set tellme unreliable Tell you once, then forget.
51 set tellme remind [<every-interval> [<within-interval>]]
52 Remind until you talk on channel within <within-interval>
53 of me having told you. (Default is remind 1h 30s.)
54 set tellme pester <interval> Remind until you say !delmsg
55
56:delmsg
57delmsg [<nick> ...]
58 Forgets about !tell messages I've passed on: either all of them, or
59 only those from certain nicks. Necessary if you !set !tellme pester
60 or reliable, and also works with remind, but not with unreliable.
61 Use !untell to delete messages you've sent, rather than received.
62
63:seen
64seen <nick>
65 Tells you or the channel when I last saw that nick in
66 use. When the nick is next used, I'll tell them you asked.
67
68:summon
69summon <username>
70 Invites a logged-on user onto IRC. If the user is not logged on
71 you'll be told. Target users can change this (eg, to disable it)
72 by reconfiguring the userv service `irc-summon'. See ~ian/.userv.
73
74:who
75who [<nick>]
76 Gives information about who I think the nick is (or who I think you
77 are), including whether the nick is registered, whether it is
78 associated with a username and if so who, and whether the current
79 user of the nick has identified themselves to me.
80 See `help !register'.
81
82#:convert
83#convert <number> <unit>
84# Converts the specified quantity into SI units. Units that are
85# understood are any understood by units(1) and also
86# kelvin celsius fahrenheit (convert to celsius or kelvin)
87#(Not yet implemented.)
88
89:op
90op [<channel>] on channel
91op <channel> (privately)
92 I'll give you channel operator privilege, if you're a manager.
93 See `help !manager'.
94
95:leave
96leave [<channel>] on channel
97leave <channel> (privately)
98 I'll leave the channel, if you're a manager. For an unmanaged
99 channel, I'll leave when I'm the last one on the channel.
100
101:channel
102channel [<chan>] [show] show settings
103channel [<chan>] !manager +|-|= <nick> ... set manager list
104channel [<chan>] !autojoin yes|no join at bot start ?
105channel [<chan>] !userinvite pub|here|all|none who can !invite ?
106channel [<chan>] !mode *|+...-... set modes when alone
107channel [<chan>] !topic leave | set <topic> set topic when alone?
108channel [<chan>] !topic see|tell +|-|= <chan>|* ...
109 See `help <setting>' (eg, `help manager') for more info.
110
111:topic
112channel [<chan>] topic set <topic> set topic when alone
113channel [<chan>] topic leave don't (default)
114 If set to `topic set <topic>' then whenever I'm alone in the channel
115 I'll reset the topic; if se to `topic leave' I'll leave it alone.
116channel [<chan>] topic see|tell +|-|= <chan>|* ...
117 I can inform one channel about topic changes in another. Each
118 channel has a `see list' and a `tell list' which may be empty or
119 contain some channel names and/or a `*'. I'll tell channel #spy
120 whenever I see the topic change in #showoff if: #showoff or * is
121 mentioned in #spy's see list, and #spy or * is mentioned in
122 #showoff's tell list, and at least one those mentions is not a `*'.
123 + adds items to the relevant list, - removes them, and = sets the
124 list to exactly those items specified. Both lists are empty by
125 default, but a good permissive value is just `*' for both lists.
126
127:autojoin
128!channel [<chan>] autojoin yes|no (`yes' is the default.)
129 Controls whether I'll join the channel when I'm (re)started.
130
131:userinvite
132channel [<chan>] userinvite pub users on chan can \!invite
133channel [<chan>] userinvite here users on chan can \!invite and /msg
134channel [<chan>] userinvite all anyone can \!invite and /msg
135channel [<chan>] userinvite none \!invite and /msg are disabled
136 Controls whether the `invite' command works for this channel, and
137 who can use it (`help !invite'). `userinvite pub' is the default.
138 Channel managers can always use the `invite' command.
139
140:mode
141!channel [<chan>] mode *|+...-... (`mode *' is default.)
142 If not set to `*' then whenever I'm alone in the channel I'll set
143 and unset the channel modes specified. Only the modes imnpst are
144 supported. Precede one or more mode letters with + to set, - to
145 unset; any letters not mentioned will be left alone.
146
147:manager
148!channel [<chan>] manager + <nick> <nick> ... add managers
149!channel [<chan>] manager - <nick> <nick> ... remove managers
150!channel [<chan>] manager = <nick> <nick> ... set new manager list
151 Managers are those who can use the `channel' command to change
152 channel settings. Manager status is only effective for secure
153 nicks, after the manager has identified themselves.
154 If you op me on an unmanaged channel you become the only manager,
155 but you must use `!channel' to change a channel setting to make this
156 permanent. To make a channel unmanaged, make it have no managers.
157
158:identify
159You must identify yourself to change your settings if your nick is
160secure, and to use channel management commands. In ircII on chiark,
161just say `/!blight-id'. For other clients, see `help !identpass'.
162Once you are identified you can then register new nicks, change
163settings, etc. - so long as you remain on a channel that I'm on too
164(see `help !invite'). See also `help !register'.
165
166:blight-id
167/blight-id is a command available in ircII (and possibly other
168clients) on chiark. It sets up a password if you don't already have
169one, and then uses it to identify you to Blight. If you want to
170change your password, delete the file ~/.userv/irc-pass-md5.
171See `help !register' and `help !identpass'.
172
173:identpass
174identpass <username> <password>
175 Identifies you to Blight. To set up your password, or be reminded
176 of it, run the shell command `irc-blight-id' on chiark.
177 (On ircII on chiark `/!blight-id' is easier, see `help !blight-id'.)
178 See `help !identpass-internals' for technical details.
179
180:identpass-internals
181Identification, for example with /!blight-id, is actually done with
182`!identpass', which feeds the md5sum of the password to `userv
183<username> irc-identpass <nick>'. That must exit 0 if all is well.
184By default this checks the md5sum against ~/.userv/irc-pass-md5.
185
186:invite
187invite <nick> ... on channel
188invite <channel> <nick> ... privately
189 This command gets me to invite the specified people to the channel.
190 This can be disabled for managed channels - see `help !userinvite'.
191To get me to join a channel, just invite me to it.
192
193:kill
194kill <nick> [<reason>]
195 Asks me to throw that client off IRC completely, using my IRC
196 Operator privilege. You must have identified yourself as the user
197 to whom the nick is registered. (See `help !register'.)
198
199:register
200register register your nick (or make it secure)
201register delete delete your nick registration
202register insecure register your nick insecurely
203 I only store settings for registered nicks. For `insecure' nicks
204 anyone who currently holds that nick can change its settings (see
205 `help !set', including securing it to their username. `secure'
206 nicks can only have their settings changed by the user to which they
207 are registered, after identifying themselves (see `help !identify').
208
209:set
210set show your current settings
211set <option> show the current setting of <option>
212set <option> <value> set <option> to <value>
213 Options: !timeformat ks|hms|beat
214 !marktime off|once|<n>[k]s|<n>m|<n>h
215 !tellme ...
216 See also `help <option>', `help !register' and `help !identify'
217
218:timeformat
219!set timeformat ks show times in seconds, kiloseconds, etc.
220set timeformat hms use days, hours, minutes, seconds
221set timeformat beat use beats (1000 B = 1 day)
222
223:ping
224ping [<string>]
225Replies with hopefully-useful information, including:
226* Current time, number of IRC and system users, and load averages.
227* Most recent traffic on a relevant channel (if sent privately, any
228 channel we're both on, otherwise the channel in question.) Only
229 actual message traffic counts, and \!-commands don't count either.
230* The specified string, if any.
231I can tell you this automatically if you like - see `help !marktime'.
232If you have undelivered messages sent with !tell by or to you, I'll
233let you know about those too (privately, if you ping on channel).
234
235:marktime
236!set marktime off Only an explicit `!ping' command sends info.
237set marktime once Send ping info shortly after I first see you.
238set marktime <!interval> Also send info regularly (min. interval 5m).
239
240:interval
241Intervals in commands are <amount><unit>, where the unit is one of
242s for seconds, ks for kiloseconds, m for minutes, h for hours.
243
244# Local variables:
245# fill-column: 69
246# End: