1
servers = (
2
  {
3
    address = "irc.oftc.net";
4
    chatnet = "OFTC";
5
    port = "6697";
6
    use_ssl = "yes";
7
    ssl_verify = "no";
8
    autoconnect = "yes";
9
  },
10
  {
11
    address = "irc.freenode.net";
12
    chatnet = "FREENODE";
13
    port = "6667";
14
    use_ssl = "no";
15
    ssl_verify = "no";
16
    autoconnect = "yes";
17
  },
18
  {
19
    address = "im.uk.bitlbee.org";
20
    chatnet = "BITLBEE";
21
    port = "6668";
22
    use_ssl = "yes";
23
    ssl_verify = "no";
24
    autoconnect = "yes";
25
  }
26
);
27
28
29
30
chatnets = {
31
  OFTC = {
32
    type = "IRC";
33
    autosendcmd = "/nick $nick ; /msg nickserv identify OFTC_PASS ;wait 2000; /clear";
34
    max_kicks = "1";
35
    max_msgs = "3";
36
    max_whois = "30";
37
  };
38
  FREENODE = {
39
    type = "IRC";
40
    autosendcmd = "/nick $nick ; /msg nickserv identify FREENODE_PASS; wait 2000; /clear";
41
    max_kicks = "1";
42
    max_msgs = "3";
43
    max_whois = "30";
44
  };
45
  BITLBEE = {
46
    type = "IRC";
47
    autosendcmd = "/nick $nick; /msg &bitlbee identify BITLBEE_PASS; wait 2000; /clear";
48
    max_kicks = "1";
49
    max_msgs = "3";
50
    max_whois = "30";
51
  };
52
};
53
54
aliases = {
55
  J = "join";
56
  WJOIN = "join -window";
57
  WQUERY = "query -window";
58
  LEAVE = "part";
59
  BYE = "quit";
60
  EXIT = "quit";
61
  SIGNOFF = "quit";
62
  DESCRIBE = "action";
63
  DATE = "time";
64
  HOST = "userhost";
65
  LAST = "lastlog";
66
  SAY = "msg *";
67
  WI = "whois";
68
  WII = "whois $0 $0";
69
  WW = "whowas";
70
  W = "who";
71
  N = "names";
72
  M = "msg";
73
  T = "topic";
74
  C = "clear";
75
  CL = "clear";
76
  K = "kick";
77
  KB = "kickban";
78
  KN = "knockout";
79
  BANS = "ban";
80
  B = "ban";
81
  MUB = "unban *";
82
  UB = "unban";
83
  IG = "ignore";
84
  UNIG = "unignore";
85
  SB = "scrollback";
86
  UMODE = "mode $N";
87
  WC = "window close";
88
  WN = "window new hide";
89
  SV = "say Irssi $J ($V) - http://irssi.org/";
90
  GOTO = "sb goto";
91
  CHAT = "dcc chat";
92
  RUN = "SCRIPT LOAD";
93
  CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi";
94
  SBAR = "STATUSBAR";
95
  INVITELIST = "mode $C +I";
96
  Q = "QUERY";
97
  "MANUAL-WINDOWS" = "set use_status_window off;set autocreate_windows off;set autocreate_query_level none;set autoclose_windows off;set reuse_unused_windows on;save";
98
  EXEMPTLIST = "mode $C +e";
99
  ATAG = "WINDOW SERVER";
100
};
101
102
statusbar = {
103
  # formats:
104
  # when using {templates}, the template is shown only if it's argument isn't
105
  # empty unless no argument is given. for example {sb} is printed always,
106
  # but {sb $T} is printed only if $T isn't empty.
107
108
  items = {
109
    # start/end text in statusbars
110
    barstart = "{sbstart}";
111
    barend = "{sbend}";
112
113
    topicbarstart = "{topicsbstart}";
114
    topicbarend = "{topicsbend}";
115
116
    # treated "normally", you could change the time/user name to whatever
117
    time = "{sb $Z}";
118
    user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
119
120
    # treated specially .. window is printed with non-empty windows,
121
    # window_empty is printed with empty windows
122
    window = "{sb $winref:$tag/$itemname{sbmode $M}}";
123
    window_empty = "{sb $winref{sbservertag $tag}}";
124
    prompt = "{prompt $[.15]itemname}";
125
    prompt_empty = "{prompt $winname}";
126
    topic = " $topic";
127
    topic_empty = " Irssi v$J - http://www.irssi.org";
128
129
    # all of these treated specially, they're only displayed when needed
130
    lag = "{sb Lag: $0-}";
131
    act = "{sb Act: $0-}";
132
    more = "-- more --";
133
  };
134
135
  # there's two type of statusbars. root statusbars are either at the top
136
  # of the screen or at the bottom of the screen. window statusbars are at
137
  # the top/bottom of each split window in screen.
138
  default = {
139
    # the "default statusbar" to be displayed at the bottom of the window.
140
    # contains all the normal items.
141
    window = {
142
      disabled = "no";
143
144
      # window, root
145
      type = "window";
146
      # top, bottom
147
      placement = "bottom";
148
      # number
149
      position = "1";
150
      # active, inactive, always
151
      visible = "active";
152
153
      # list of items in statusbar in the display order
154
      items = {
155
        barstart = { priority = "100"; };
156
        time = { };
157
        user = { };
158
        window = { };
159
        window_empty = { };
160
        lag = { priority = "-1"; };
161
        more = { priority = "-1"; alignment = "right"; };
162
        barend = { priority = "100"; alignment = "right"; };
163
        usercount = { };
164
      };
165
    };
166
167
    # statusbar to use in inactive split windows
168
    window_inact = {
169
      type = "window";
170
      placement = "bottom";
171
      position = "1";
172
      visible = "inactive";
173
      items = {
174
        barstart = { priority = "100"; };
175
        window = { };
176
        window_empty = { };
177
        more = { priority = "-1"; alignment = "right"; };
178
        barend = { priority = "100"; alignment = "right"; };
179
      };
180
    };
181
182
    # we treat input line as yet another statusbar :) It's possible to
183
    # add other items before or after the input line item.
184
    prompt = {
185
      type = "root";
186
      placement = "bottom";
187
      # we want to be at the bottom always
188
      position = "100";
189
      visible = "always";
190
      items = {
191
        prompt = { priority = "-1"; };
192
        prompt_empty = { priority = "-1"; };
193
        # treated specially, this is the real input line.
194
        input = { priority = "10"; };
195
      };
196
    };
197
198
    # topicbar
199
    topic = {
200
      type = "root";
201
      placement = "top";
202
      position = "1";
203
      visible = "always";
204
      items = {
205
        topicbarstart = { priority = "100"; };
206
        topic = { };
207
        topic_empty = { };
208
        topicbarend = { priority = "100"; alignment = "right"; };
209
      };
210
    };
211
    awl_0 = {
212
      items = {
213
        barstart = { priority = "100"; };
214
        awl_0 = { };
215
        barend = { priority = "100"; alignment = "right"; };
216
      };
217
    };
218
    awl_1 = {
219
      items = {
220
        barstart = { priority = "100"; };
221
        awl_1 = { };
222
        barend = { priority = "100"; alignment = "right"; };
223
      };
224
    };
225
    awl_2 = {
226
      items = {
227
        barstart = { priority = "100"; };
228
        awl_2 = { };
229
        barend = { priority = "100"; alignment = "right"; };
230
      };
231
    };
232
  };
233
};
234
settings = {
235
  core = {
236
    real_name = "Beraldo Leal";
237
    user_name = "beraldo";
238
    nick = "BeraldoLeal";
239
    #real_name = "core89899";
240
    #user_name = "core89899";
241
    #nick = "core89899";
242
  };
243
  "fe-text" = { actlist_sort = "refnum"; colors = "yes"; };
244
  "fe-common/core" = {
245
    theme = "initrd";
246
    use_msgs_window = "yes";
247
    autocreate_query_level = "DCCMSGS";
248
    autolog_path = "~/.irssi/irclogs/$tag/$0.log";
249
    autolog = "yes";
250
    autoclose_windows = "yes";
251
    show_nickmode = "no";
252
    hide_colors = "yes";
253
    show_names_on_join = "no";
254
    hilight_nick_matches = "no";
255
    bell_beeps = "no";
256
    beep_msg_level = "HILIGHT MSGS";
257
    use_status_window = "no";
258
  };
259
  "irc/core" = { alternate_nick = "beraldo"; max_ctcp_queue = "500"; };
260
  "irc/flood" = { autoignore_time = "0"; flood_max_msgs = "500"; };
261
  "perl/core/scripts" = {
262
    usercount_show_zero = "yes";
263
    nicklist_width = "20";
264
    nicklist_height = "100";
265
    nicklist_automode = "screen";
266
    awl_display_key = "%K$Q|%K$H$C$S";
267
    awl_block = "-20";
268
    awl_sbar_maxlength = "yes";
269
  };
270
};
271
logs = { };
272
channels = (
273
  { name = "#debian-br"; chatnet = "OFTC"; autojoin = "yes"; },
274
  { name = "#debian-kernel"; chatnet = "OFTC"; autojoin = "yes"; },
275
  { name = "#debian-security"; chatnet = "OFTC"; autojoin = "yes"; },
276
  { name = "#kernelnewbies"; chatnet = "OFTC"; autojoin = "yes"; },
277
  { name = "#kernel-br"; chatnet = "OFTC"; autojoin = "yes"; },
278
  { name = "#debconf11-bosnia"; chatnet = "OFTC"; autojoin = "yes"; },
279
  { name = "#gsd"; chatnet = "FREENODE"; autojoin = "yes"; }
280
);
281
keyboard = (
282
  { key = "^L"; id = "command"; data = "clear"; },
283
  { key = "^W"; id = "command"; data = "WC "; },
284
  { key = "meta-l"; id = "command"; data = "redraw"; },
285
  { key = "mup"; id = "command"; data = "nicklist scroll -10"; },
286
  { key = "mdown"; id = "command"; data = "nicklist scroll +10"; },
287
  { key = "meta-+"; id = "command"; data = "nicklist screen"; },
288
  { key = "meta--"; id = "command"; data = "nicklist off"; }
289
);
290
hilights = (
291
  {
292
    text = "beraldo";
293
    color = "%Y";
294
    act_color = "%R";
295
    nick = "no";
296
    word = "no";
297
  }
298
);
299
windows = {
300
  1 = {
301
    immortal = "yes";
302
    name = "(status-oftc)";
303
    servertag = "OFTC";
304
    level = "ALL";
305
  };
306
  2 = {
307
    immortal = "yes";
308
    name = "(status-freenode)";
309
    servertag = "FREENODE";
310
    level = "ALL";
311
  };
312
  3 = {
313
    immortal = "yes";
314
    name = "(status-bitlbee)";
315
    servertag = "BITLBEE";
316
    level = "ALL";
317
  };
318
  4 = { name = "(msgs_oftc)"; level = "MSGS"; servertag = "OFTC"; };
319
  5 = { 
320
    name = "(msgs_freenode)";
321
    level = "MSGS";
322
    servertag = "FREENODE";
323
  };
324
  6 = { name = "(msgs_bitlbee)"; level = "MSGS"; servertag = "BITLBEE"; };
325
};