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