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