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