summaryrefslogtreecommitdiff
path: root/COMMANDS
blob: 4547a508ae30973b47693d89ec8a954264526752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383

 ** Some definations


"Level" usually means that you can use these words there:

   CRAP            - Can be almost anything
   PUB             - Public messages in channel
   MSGS            - Private messages
   CHAN            - Channel messages: joins, parts, quits, etc.
   NOTICES         - Notices
   SNOTES          - Notices from server
   WALLOPS         - Wallops
   ACTIONS         - Actions (/me)
   DCC             - DCC messages
   CTCP            - CTCP messages
   HILIGHT         - Hilighted text
   CLIENTNOTICES   - Irssi's notices
   CLIENTERRORS    - Irssi's error messages


 ** Server handling


CONNECT <address> [port [password [nick]]]

	Connect to specified server, if there's no password set it to -

DISCONNECT <* / tag> [message]

	Disconnect from server

SERVER <address> [port [password [nick]]]

	Disconnect from current server and connect to new one

SERVERS

	Display a list of servers

RMRECONNS

	Remove all servers from reconnection list


 ** Basic IRC commands


QUIT [message]

	Quit irssi

JOIN <channel> [key] [, channel...]

	Join to channel(s)

PART [channel] [message]

	Leave from channel

QUERY <nick>

	Create query window

UNQUERY <nick>

	Close query window

MSG <nick/channel> <message>

	Send message to nick/channel

ME <message>

	Send action to channel (/me thinks..)

NOTICE <nick/channel> <message>

	Send notice to nick/channel

WHOIS [server/nick] <nick>

	Send WHOIS query, you can also specify from what server to ask the
	information. If you type the nick twice it will ask from the same
	server what nick is using.

AWAY [message]

	Sets yourself away/unaway

AWAYALL [message]

	Sets yourself away/unaway to all connected servers

WHO <nick/channel>

	Show WHO list

NAMES [channel]

	List nicks (in channel)


 ** Bit more advanced commands


MODE <channel/nick> <mode>

	Get/set channel/nick mode.

	Get channel modes:
		b            - Get ban list
		e            - Get ban exception list
		I            - Get invite list

	Set channel modes (use +/- before these):
		b *!ban@mask - Set/remove ban
		e *!ban@mask - Set/remove ban exception
		I *!ban@mask - Set/remove channel invite
		o nick       - Set/remove op status
		v nick       - Set/remove voice status
		l limit      - Set remove max. people limit in channel
		k key        - Set/remove channel key
		s            - Secret
		p            - Private
		m            - Moderated
		i            - Invite only
		n            - No external messages
		t            - Only ops can change topic

	User modes:
		i            - Invisible
		w            - Show wallops
		s            - Show server notices

TOPIC [channel] [topic]

	Get/set channel topic

INVITE <nick> [channel]

	Invite nick to channel

CTCP <nick/channel> <command>

	Send CTCP request to nick/channel (PING, VERSION, ..)

NCTCP <nick/channel> <reply>

	Send CTCP reply to nick/channel

PING <nick>

	Send CTCP PING to nick and tell how long it took to receive the reply

ISON [nick [nick...]]

	Ask if nicks are in IRC.

WALL [channel] <message>

	Send notice message to all operators in channel.

OP, DEOP, VOICE, DEVOICE [channel] [nick [nick...]

	Op/deop/voice/devoice nick(s) in channel

KICK [channel] <nick> <reason>

	Kick nick from channel

KICKBAN [channel] <nick> <reason>

	Kick+ban nick from channel

KNOCKOUT [secs] <nick> <reason>

	Kick+ban+delay (default to 5min)+unban

BAN [channel] [nick [nick...]]

	Ban nick(s) in channel

UNBAN [channel] [mask [mask...]]

	Remove ban(s) from channel

BANSTAT [channel]

	List bans and ban exceptions in channel

BANTYPE <normal/host/domain/custom>

	Set ban type:

	Normal - *!user@*.domain.net
	Host   - *!*@host.domain.net
	Domain - *!*@*.domain.net
	Custom [nick] [user] [host] [domain]
		eg. /bantype custom nick domain - nick!*@*.domain.net
		eg. /bantype custom user host - *!user@host.domain.net

INVITELIST [channel]

	List invites (+I) in channel

VERSION [server]

	Displays irssi version and asks IRC server's version

VER [nick/channel]

	Sends CTCP VERSION request to nick/channel

SV [nick/channel]

	Sends irssi version text to nick/channel

KILL <nick> <message>

	Kill nick from irc network. [irc ops only]

WALLOPS <message>

	Write wallops message. [irc ops only]

QUOTE <message>

	Send raw data to irc server - DON'T USE THIS unless you really know
	what you're doing!


 ** DCC handling


DCC

	List DCC connections (same as DCC LIST)

DCC CHAT <nick>

	Open DCC chat

DCC SEND <nick> <filename>

	Send file to nick

DCC GET <nick> [filename]

	Get file offered by nick

DCC RESUME <nick> [filename]

	(MIRC) Resume getting file offered by nick

DCC CLOSE <type> <nick> [filename]

	Close DCC connection

DCC LIST

	List DCC connections

MIRCDCC [n]

	Set MIRC style CTCPs on/off


 ** User interface handling


WINDOW <NEW/CLOSE/SERVER/PREV/NEXT/GOTO/LEVEL>

	NEW [HIDDEN/TAB]

		Create new window (in tab)

	CLOSE

		Close the current window

	SERVER <tag>

		Change which server to use in current window

	PREV/NEXT/GOTO <N>

		Go to previous/next/Nth window

	LEVEL <[+/-]pub/msgs/...>

		Change window level, eg.
			/window level msgs      - creates messages window
			/window level all -msgs - creates status window

CLEAR

	Clear screen

ECHO <text>

	Print text to screen

MODES

	Open channel modes dialog (GTK/GNOME version)

GWHOIS <nick>

	Display WHOIS information in dialog (GTK/GNOME version)

LAST [-pub -msgs...] <text>

	Display (only public/msgs/..) lines where <text> appears
	(Text version only)


 ** Configuration


SET [key [=value / [key [key..]]

	Get/set configuration

ALIAS, UNALIAS <alias> [command]

	Set/remove alias, /unalias is the same as /alias without command

	These codes are extracted in commands:
		%0            : name of alias
		%1, %2, %3 .. : %th word
		&1, &2, &3 .. : &th word + the rest of the text after it
		%c            : channel name

	Typing extra / before /command (//command) ignores any aliases

IGNORE, UNIGNORE <mask> [level [level..]]

	Ignore/unignore specified level(s) or everything from nick

NOTIFY <mask> [ircnet [ircnet..]]

	Add mask (nick) to notify list for specified ircnets..

UNNOTIFY <mask>

	Remove mask from notify list.

LOG <CREATE/CLOSE/START/STOP/LIST>

	CREATE <filename> [<+/->level ...] [#channel/nick [
	                  [<+/->level ...] ...]

		Create and start logging to file

		Example: /log create mylog -all +msgs #linux +chan +public
		(or simply #linux +all logs everything that appears in #linux
		window).

        CLOSE <filename>

		Close log and remove from configuration

	START <filename>

		Start logging to file

	STOP <filename>

		Stop logging to file

        LIST

		List logs.

LOAD <plugin> [arguments]

	Load plugin

UNLOAD <plugin>

	Unload plugin