irssi/config
1	servers = (
2 {
3 address = "irc.ubuntu.com";
4 chatnet = "Ubuntu";
5 port = "6697";
6 use_tls = "yes";
7 tls_verify = "yes";
8 },
9 { address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
10 {
11 address = "ssl.efnet.org";
12 chatnet = "EFNet";
13 port = "9999";
14 use_tls = "yes";
15 },
16 {
17 address = "irc.esper.net";
18 chatnet = "EsperNet";
19 port = "6697";
20 use_tls = "yes";
21 tls_verify = "yes";
22 },
23 {
24 address = "chat.freenode.net";
25 chatnet = "Freenode";
26 port = "6697";
27 use_tls = "yes";
28 tls_verify = "yes";
29 autoconnect = "yes";
30 },
31 {
32 address = "irc.gamesurge.net";
33 chatnet = "GameSurge";
34 port = "6667";
35 },
36 {
37 address = "eu.irc6.net";
38 chatnet = "IRCnet";
39 port = "6667";
40 use_tls = "yes";
41 },
42 { address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; },
43 {
44 address = "irc.ircsource.net";
45 chatnet = "IRCSource";
46 port = "6667";
47 },
48 { address = "irc.netfuze.net"; chatnet = "NetFuze"; port = "6667"; },
49 {
50 address = "irc.oftc.net";
51 chatnet = "OFTC";
52 port = "6697";
53 use_tls = "yes";
54 tls_verify = "yes";
55 },
56 {
57 address = "irc.quakenet.org";
58 chatnet = "QuakeNet";
59 port = "6667";
60 },
61 {
62 address = "irc.rizon.net";
63 chatnet = "Rizon";
64 port = "6697";
65 use_tls = "yes";
66 tls_verify = "yes";
67 },
68 { address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; },
69 {
70 address = "irc.undernet.org";
71 chatnet = "Undernet";
72 port = "6667";
73 }
74 );
75
76 chatnets = {
77 Ubuntu = {
78 type = "IRC";
79 max_kicks = "1";
80 max_msgs = "4";
81 max_whois = "1";
82 };
83 DALnet = {
84 type = "IRC";
85 max_kicks = "4";
86 max_msgs = "20";
87 max_whois = "30";
88 };
89 EFNet = {
90 type = "IRC";
91 max_kicks = "1";
92 max_msgs = "4";
93 max_whois = "1";
94 };
95 EsperNet = {
96 type = "IRC";
97 max_kicks = "1";
98 max_msgs = "4";
99 max_whois = "1";
100 };
101 Freenode = {
102 type = "IRC";
103 max_kicks = "1";
104 max_msgs = "4";
105 max_whois = "1";
106 sasl_mechanism = "PLAIN";
107 sasl_username = "REDACTED";
108 sasl_password = "REDACTED";
109 };
110 GameSurge = {
111 type = "IRC";
112 max_kicks = "1";
113 max_msgs = "1";
114 max_whois = "1";
115 };
116 IRCnet = {
117 type = "IRC";
118 max_kicks = "1";
119 max_msgs = "1";
120 max_whois = "1";
121 };
122 IRCSource = {
123 type = "IRC";
124 max_kicks = "1";
125 max_msgs = "4";
126 max_whois = "1";
127 };
128 NetFuze = {
129 type = "IRC";
130 max_kicks = "1";
131 max_msgs = "1";
132 max_whois = "1";
133 };
134 OFTC = { type = "IRC"; max_kicks = "1"; max_msgs = "1"; max_whois = "1"; };
135 QuakeNet = {
136 type = "IRC";
137 max_kicks = "1";
138 max_msgs = "1";
139 max_whois = "1";
140 };
141 Rizon = {
142 type = "IRC";
143 max_kicks = "1";
144 max_msgs = "1";
145 max_whois = "1";
146 };
147 SILC = { type = "SILC"; };
148 Undernet = {
149 type = "IRC";
150 max_kicks = "1";
151 max_msgs = "1";
152 max_whois = "1";
153 };
154 };
155
156 channels = (
157 { name = "#lobby"; chatnet = "EsperNet"; autojoin = "No"; },
158 { name = "#freenode"; chatnet = "Freenode"; autojoin = "No"; },
159 { name = "#irssi"; chatnet = "Freenode"; autojoin = "No"; },
160 { name = "#gamesurge"; chatnet = "GameSurge"; autojoin = "No"; },
161 { name = "#irssi"; chatnet = "IRCNet"; autojoin = "No"; },
162 { name = "#ircsource"; chatnet = "IRCSource"; autojoin = "No"; },
163 { name = "#netfuze"; chatnet = "NetFuze"; autojoin = "No"; },
164 { name = "#oftc"; chatnet = "OFTC"; autojoin = "No"; },
165 { name = "silc"; chatnet = "SILC"; autojoin = "No"; }
166 );
167
168 aliases = {
169 ATAG = "WINDOW SERVER";
170 ADDALLCHANS = "SCRIPT EXEC foreach my \\$channel (Irssi::channels()) { Irssi::command(\"CHANNEL ADD -auto \\$channel->{name} \\$channel->{server}->{tag} \\$channel->{key}\")\\;}";
171 B = "BAN";
172 BACK = "AWAY";
173 BANS = "BAN";
174 BYE = "QUIT";
175 C = "CLEAR";
176 CALC = "EXEC - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi";
177 CHAT = "DCC CHAT";
178 CUBES = "SCRIPT EXEC Irssi::active_win->print(\"%_bases\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { join '', map { \"%x0\\${_}0\\$_\" } '0'..'9','A'..'F' }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print(\"%_cubes\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { my \\$y = \\$_*6 \\; join '', map { my \\$x = \\$_ \\; map { \"%x\\$x\\$_\\$x\\$_\" } @{['0'..'9','A'..'Z']}[\\$y .. \\$y+5] } 1..6 }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) for 0..5 \\; Irssi::active_win->print(\"%_grays\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { join '', map { \"%x7\\${_}7\\$_\" } 'A'..'X' }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print(\"%_mIRC extended colours\", MSGLEVEL_CLIENTCRAP) \\; my \\$x \\; \\$x .= sprintf \"\00399,%02d%02d\",\\$_,\\$_ for 0..15 \\; Irssi::active_win->print(\\$x, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; for my \\$z (0..6) { my \\$x \\; \\$x .= sprintf \"\00399,%02d%02d\",\\$_,\\$_ for 16+(\\$z*12)..16+(\\$z*12)+11 \\; Irssi::active_win->print(\\$x, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) }";
179 DATE = "TIME";
180 DEHIGHLIGHT = "DEHILIGHT";
181 DESCRIBE = "ACTION";
182 DHL = "DEHILIGHT";
183 EXEMPTLIST = "MODE $C +e";
184 EXIT = "QUIT";
185 GOTO = "SCROLLBACK GOTO";
186 HIGHLIGHT = "HILIGHT";
187 HL = "HILIGHT";
188 HOST = "USERHOST";
189 INVITELIST = "MODE $C +I";
190 J = "JOIN";
191 K = "KICK";
192 KB = "KICKBAN";
193 KN = "KNOCKOUT";
194 LAST = "LASTLOG";
195 LEAVE = "PART";
196 M = "MSG";
197 MUB = "UNBAN *";
198 N = "NAMES";
199 NMSG = "^MSG";
200 P = "PART";
201 Q = "QUERY";
202 RESET = "SET -default";
203 RUN = "SCRIPT LOAD";
204 SAY = "MSG *";
205 SB = "SCROLLBACK";
206 SBAR = "STATUSBAR";
207 SIGNOFF = "QUIT";
208 SV = "MSG * Irssi $J ($V) - http://www.irssi.org";
209 T = "TOPIC";
210 UB = "UNBAN";
211 UMODE = "MODE $N";
212 UNSET = "SET -clear";
213 W = "WHO";
214 WC = "WINDOW CLOSE";
215 WG = "WINDOW GOTO";
216 WJOIN = "JOIN -window";
217 WI = "WHOIS";
218 WII = "WHOIS $0 $0";
219 WL = "WINDOW LIST";
220 WN = "WINDOW NEW HIDDEN";
221 WQUERY = "QUERY -window";
222 WW = "WHOWAS";
223 1 = "WINDOW GOTO 1";
224 2 = "WINDOW GOTO 2";
225 3 = "WINDOW GOTO 3";
226 4 = "WINDOW GOTO 4";
227 5 = "WINDOW GOTO 5";
228 6 = "WINDOW GOTO 6";
229 7 = "WINDOW GOTO 7";
230 8 = "WINDOW GOTO 8";
231 9 = "WINDOW GOTO 9";
232 10 = "WINDOW GOTO 10";
233 11 = "WINDOW GOTO 11";
234 12 = "WINDOW GOTO 12";
235 13 = "WINDOW GOTO 13";
236 14 = "WINDOW GOTO 14";
237 15 = "WINDOW GOTO 15";
238 16 = "WINDOW GOTO 16";
239 17 = "WINDOW GOTO 17";
240 18 = "WINDOW GOTO 18";
241 19 = "WINDOW GOTO 19";
242 20 = "WINDOW GOTO 20";
243 21 = "WINDOW GOTO 21";
244 22 = "WINDOW GOTO 22";
245 23 = "WINDOW GOTO 23";
246 24 = "WINDOW GOTO 24";
247 25 = "WINDOW GOTO 25";
248 26 = "WINDOW GOTO 26";
249 27 = "WINDOW GOTO 27";
250 28 = "WINDOW GOTO 28";
251 29 = "WINDOW GOTO 29";
252 30 = "WINDOW GOTO 30";
253 31 = "WINDOW GOTO 31";
254 32 = "WINDOW GOTO 32";
255 33 = "WINDOW GOTO 33";
256 34 = "WINDOW GOTO 34";
257 35 = "WINDOW GOTO 35";
258 36 = "WINDOW GOTO 36";
259 37 = "WINDOW GOTO 37";
260 38 = "WINDOW GOTO 38";
261 39 = "WINDOW GOTO 39";
262 40 = "WINDOW GOTO 40";
263 41 = "WINDOW GOTO 41";
264 42 = "WINDOW GOTO 42";
265 43 = "WINDOW GOTO 43";
266 44 = "WINDOW GOTO 44";
267 45 = "WINDOW GOTO 45";
268 46 = "WINDOW GOTO 46";
269 47 = "WINDOW GOTO 47";
270 48 = "WINDOW GOTO 48";
271 49 = "WINDOW GOTO 49";
272 50 = "WINDOW GOTO 50";
273 51 = "WINDOW GOTO 51";
274 52 = "WINDOW GOTO 52";
275 53 = "WINDOW GOTO 53";
276 54 = "WINDOW GOTO 54";
277 55 = "WINDOW GOTO 55";
278 56 = "WINDOW GOTO 56";
279 57 = "WINDOW GOTO 57";
280 58 = "WINDOW GOTO 58";
281 59 = "WINDOW GOTO 59";
282 60 = "WINDOW GOTO 60";
283 61 = "WINDOW GOTO 61";
284 62 = "WINDOW GOTO 62";
285 63 = "WINDOW GOTO 63";
286 64 = "WINDOW GOTO 64";
287 65 = "WINDOW GOTO 65";
288 66 = "WINDOW GOTO 66";
289 67 = "WINDOW GOTO 67";
290 68 = "WINDOW GOTO 68";
291 69 = "WINDOW GOTO 69";
292 70 = "WINDOW GOTO 70";
293 71 = "WINDOW GOTO 71";
294 72 = "WINDOW GOTO 72";
295 73 = "WINDOW GOTO 73";
296 74 = "WINDOW GOTO 74";
297 75 = "WINDOW GOTO 75";
298 76 = "WINDOW GOTO 76";
299 77 = "WINDOW GOTO 77";
300 78 = "WINDOW GOTO 78";
301 79 = "WINDOW GOTO 79";
302 80 = "WINDOW GOTO 80";
303 81 = "WINDOW GOTO 81";
304 82 = "WINDOW GOTO 82";
305 83 = "WINDOW GOTO 83";
306 84 = "WINDOW GOTO 84";
307 85 = "WINDOW GOTO 85";
308 86 = "WINDOW GOTO 86";
309 87 = "WINDOW GOTO 87";
310 88 = "WINDOW GOTO 88";
311 89 = "WINDOW GOTO 89";
312 90 = "WINDOW GOTO 90";
313 91 = "WINDOW GOTO 91";
314 92 = "WINDOW GOTO 92";
315 93 = "WINDOW GOTO 93";
316 94 = "WINDOW GOTO 94";
317 95 = "WINDOW GOTO 95";
318 96 = "WINDOW GOTO 96";
319 97 = "WINDOW GOTO 97";
320 98 = "WINDOW GOTO 98";
321 99 = "WINDOW GOTO 99";
322 };
323
324 statusbar = {
325
326 items = {
327
328 barstart = "{sbstart}";
329 barend = "{sbend}";
330
331 topicbarstart = "{topicsbstart}";
332 topicbarend = "{topicsbend}";
333
334 time = "{sb $Z}";
335 user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
336
337 window = "{sb $winref:$tag/$itemname{sbmode $M}}";
338 window_empty = "{sb $winref{sbservertag $tag}}";
339
340 prompt = "{prompt $[.15]itemname}";
341 prompt_empty = "{prompt $winname}";
342
343 topic = " $topic";
344 topic_empty = " Irssi v$J - http://www.irssi.org";
345
346 lag = "{sb Lag: $0-}";
347 act = "{sb Act: $0-}";
348 more = "-- more --";
349 };
350
351 default = {
352
353 window = {
354
355 disabled = "no";
356 type = "window";
357 placement = "bottom";
358 position = "1";
359 visible = "active";
360
361 items = {
362 barstart = { priority = "100"; };
363 time = { };
364 user = { };
365 window = { };
366 window_empty = { };
367 lag = { priority = "-1"; };
368 act = { priority = "10"; };
369 more = { priority = "-1"; alignment = "right"; };
370 barend = { priority = "100"; alignment = "right"; };
371 };
372 };
373
374 window_inact = {
375
376 type = "window";
377 placement = "bottom";
378 position = "1";
379 visible = "inactive";
380
381 items = {
382 barstart = { priority = "100"; };
383 window = { };
384 window_empty = { };
385 more = { priority = "-1"; alignment = "right"; };
386 barend = { priority = "100"; alignment = "right"; };
387 };
388 };
389
390 prompt = {
391
392 type = "root";
393 placement = "bottom";
394 position = "100";
395 visible = "always";
396
397 items = {
398 prompt = { priority = "-1"; };
399 prompt_empty = { priority = "-1"; };
400 input = { priority = "10"; };
401 };
402 };
403
404 topic = {
405
406 type = "root";
407 placement = "top";
408 position = "1";
409 visible = "always";
410
411 items = {
412 topicbarstart = { priority = "100"; };
413 topic = { };
414 topic_empty = { };
415 topicbarend = { priority = "100"; alignment = "right"; };
416 };
417 };
418 };
419 };
420 settings = {
421 core = {
422 real_name = "REDACTED";
423 user_name = "REDACTED";
424 nick = "REDACTED";
425 };
426 "fe-text" = { actlist_sort = "refnum"; };
427 "fe-common/core" = { theme = "default"; };
428 };
429 ignores = (
430 { level = "JOINS PARTS QUITS NICKS"; channels = ( "#suckless" ); },
431 { level = "JOINS PARTS QUITS NICKS"; channels = ( "#aptly" ); }
432 );