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