2001-07-28 21:48:42 -04:00
|
|
|
servers = (
|
2002-02-17 04:47:51 -05:00
|
|
|
{ address = "irc.stealth.net"; chatnet = "IRCNet"; port = "6668"; },
|
|
|
|
{ address = "irc.efnet.net"; chatnet = "EFNet"; port = "6667"; },
|
|
|
|
{
|
|
|
|
address = "irc.undernet.org";
|
|
|
|
chatnet = "Undernet";
|
|
|
|
port = "6667";
|
|
|
|
},
|
|
|
|
{ address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
|
|
|
|
{ address = "irc.openprojects.net"; chatnet = "OPN"; port = "6667"; },
|
|
|
|
{ address = "irc.gnome.org"; chatnet = "GIMPNet"; port = "6667"; },
|
|
|
|
{ address = "irc.ptlink.net"; chatnet = "PTlink"; port = "6667"; },
|
|
|
|
{ address = "silc.pspt.fi"; chatnet = "SILC"; port = "706"; }
|
2000-04-14 07:27:14 -04:00
|
|
|
);
|
1999-09-03 10:27:29 -04:00
|
|
|
|
2001-02-17 14:44:22 -05:00
|
|
|
chatnets = {
|
2002-02-17 04:47:51 -05:00
|
|
|
IRCNet = {
|
|
|
|
type = "IRC";
|
|
|
|
max_kicks = "4";
|
|
|
|
max_modes = "3";
|
|
|
|
max_msgs = "5";
|
|
|
|
max_whois = "4";
|
|
|
|
max_query_chans = "5";
|
|
|
|
};
|
|
|
|
EFNet = {
|
|
|
|
type = "IRC";
|
|
|
|
max_kicks = "4";
|
|
|
|
max_modes = "4";
|
|
|
|
max_msgs = "3";
|
|
|
|
};
|
|
|
|
Undernet = {
|
|
|
|
type = "IRC";
|
|
|
|
max_kicks = "4";
|
|
|
|
max_modes = "3";
|
|
|
|
max_msgs = "3";
|
|
|
|
};
|
|
|
|
DALNet = {
|
|
|
|
type = "IRC";
|
|
|
|
max_kicks = "4";
|
|
|
|
max_modes = "6";
|
|
|
|
max_msgs = "3";
|
|
|
|
};
|
|
|
|
OPN = { type = "IRC"; max_kicks = "4"; max_modes = "4"; max_msgs = "1"; };
|
|
|
|
GIMPNet = {
|
|
|
|
type = "IRC";
|
|
|
|
max_kicks = "4";
|
|
|
|
max_modes = "4";
|
|
|
|
max_msgs = "3";
|
|
|
|
};
|
|
|
|
PTLink = {
|
|
|
|
type = "IRC";
|
|
|
|
max_kicks = "1";
|
|
|
|
max_modes = "6";
|
|
|
|
max_msgs = "100";
|
|
|
|
};
|
2001-02-17 14:44:22 -05:00
|
|
|
SILC = { type = "SILC"; };
|
2000-06-04 12:01:19 -04:00
|
|
|
};
|
1999-09-03 10:27:29 -04:00
|
|
|
|
2000-04-14 07:27:14 -04:00
|
|
|
channels = (
|
2002-02-17 04:47:51 -05:00
|
|
|
{ name = "#irssi"; chatnet = "ircnet"; autojoin = "No"; },
|
|
|
|
{ name = "#irssi"; chatnet = "opn"; autojoin = "No"; },
|
|
|
|
{ name = "#silc"; chatnet = "silc"; autojoin = "No"; }
|
2000-04-14 07:27:14 -04:00
|
|
|
);
|
2000-05-04 06:32:42 -04:00
|
|
|
|
2000-04-26 04:10:09 -04:00
|
|
|
aliases = {
|
|
|
|
J = "join";
|
2000-08-11 22:16:52 -04:00
|
|
|
WJOIN = "join -window";
|
|
|
|
WQUERY = "query -window";
|
2000-04-26 04:10:09 -04:00
|
|
|
LEAVE = "part";
|
|
|
|
BYE = "quit";
|
|
|
|
EXIT = "quit";
|
|
|
|
SIGNOFF = "quit";
|
|
|
|
DESCRIBE = "action";
|
|
|
|
DATE = "time";
|
|
|
|
HOST = "userhost";
|
|
|
|
LAST = "lastlog";
|
|
|
|
SAY = "msg *";
|
|
|
|
WI = "whois";
|
|
|
|
WII = "whois $0 $0";
|
|
|
|
WW = "whowas";
|
2001-05-14 10:07:10 -04:00
|
|
|
W = "who";
|
|
|
|
N = "names";
|
2000-04-26 04:10:09 -04:00
|
|
|
M = "msg";
|
|
|
|
T = "topic";
|
|
|
|
C = "clear";
|
|
|
|
CL = "clear";
|
|
|
|
K = "kick";
|
|
|
|
KB = "kickban";
|
|
|
|
KN = "knockout";
|
2000-04-27 07:44:55 -04:00
|
|
|
BANS = "ban";
|
2000-04-26 04:10:09 -04:00
|
|
|
B = "ban";
|
2000-04-27 07:44:55 -04:00
|
|
|
MUB = "unban *";
|
2000-04-26 04:10:09 -04:00
|
|
|
UB = "unban";
|
|
|
|
IG = "ignore";
|
|
|
|
UNIG = "unignore";
|
|
|
|
SB = "scrollback";
|
|
|
|
UMODE = "mode $N";
|
2000-04-27 07:44:55 -04:00
|
|
|
WC = "window close";
|
2000-06-30 17:00:00 -04:00
|
|
|
WN = "window new hide";
|
2001-08-08 20:50:22 -04:00
|
|
|
SV = "say Irssi $J ($V) - http://irssi.org/";
|
2000-07-01 19:52:54 -04:00
|
|
|
GOTO = "sb goto";
|
2001-05-07 11:19:15 -04:00
|
|
|
CHAT = "dcc chat";
|
2001-07-29 05:17:53 -04:00
|
|
|
RUN = "SCRIPT LOAD";
|
2001-11-03 05:54:04 -05:00
|
|
|
UPTIME = "eval exec - expr `date +%s` - \\$F | awk '{print \"Irssi uptime: \"int(\\\\\\$1/3600/24)\"d \"int(\\\\\\$1/3600%24)\"h \"int(\\\\\\$1/60%60)\"m \"int(\\\\\\$1%60)\"s\" }'";
|
2001-08-24 09:46:35 -04:00
|
|
|
CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi";
|
2002-02-16 05:46:35 -05:00
|
|
|
SBAR = "STATUSBAR";
|
|
|
|
INVITELIST = "mode $C +I";
|
2000-04-26 04:10:09 -04:00
|
|
|
};
|
2001-10-13 12:10:19 -04:00
|
|
|
|
|
|
|
statusbar = {
|
|
|
|
# formats:
|
|
|
|
# when using {templates}, the template is shown only if it's argument isn't
|
|
|
|
# empty unless no argument is given. for example {sb} is printed always,
|
|
|
|
# but {sb $T} is printed only if $T isn't empty.
|
|
|
|
|
|
|
|
items = {
|
2001-10-21 13:27:43 -04:00
|
|
|
# start/end text in statusbars
|
|
|
|
barstart = "{sbstart}";
|
|
|
|
barend = "{sbend}";
|
|
|
|
|
2001-10-13 12:10:19 -04:00
|
|
|
# treated "normally", you could change the time/user name to whatever
|
|
|
|
time = "{sb $Z}";
|
|
|
|
user = "{sb $cumode$N{sbmode $usermode}{sbaway $A}}";
|
|
|
|
|
|
|
|
# treated specially .. window is printed with non-empty windows,
|
|
|
|
# window_empty is printed with empty windows
|
|
|
|
window = "{sb $winref:$T{sbmode $M}}";
|
|
|
|
window_empty = "{sb $winref{sbservertag $tag}}";
|
2001-10-21 13:27:43 -04:00
|
|
|
prompt = "{prompt $[.15]T}";
|
|
|
|
prompt_empty = "{prompt $winname}";
|
2002-03-10 09:02:33 -05:00
|
|
|
topic = " $topic";
|
|
|
|
topic_empty = " Irssi v$J - http://irssi.org/help/";
|
2001-10-13 12:10:19 -04:00
|
|
|
|
|
|
|
# all of these treated specially, they're only displayed when needed
|
2001-11-19 17:21:57 -05:00
|
|
|
lag = "{sb Lag: $0-}";
|
2001-10-13 12:10:19 -04:00
|
|
|
act = "{sb Act: $0-}";
|
|
|
|
more = "-- more --";
|
|
|
|
};
|
|
|
|
|
|
|
|
# there's two type of statusbars. root statusbars are either at the top
|
|
|
|
# of the screen or at the bottom of the screen. window statusbars are at
|
|
|
|
# the top/bottom of each split window in screen.
|
|
|
|
default = {
|
|
|
|
# the "default statusbar" to be displayed at the bottom of the window.
|
|
|
|
# contains all the normal items.
|
|
|
|
window = {
|
2002-02-16 05:46:35 -05:00
|
|
|
disabled = "no";
|
|
|
|
|
2001-10-13 12:10:19 -04:00
|
|
|
# window, root
|
|
|
|
type = "window";
|
|
|
|
# top, bottom
|
|
|
|
placement = "bottom";
|
|
|
|
# number
|
|
|
|
position = "1";
|
2002-02-16 05:46:35 -05:00
|
|
|
# active, inactive, always
|
2001-10-13 12:10:19 -04:00
|
|
|
visible = "active";
|
|
|
|
|
|
|
|
# list of items in statusbar in the display order
|
|
|
|
items = {
|
2001-10-21 13:27:43 -04:00
|
|
|
barstart = { priority = "100"; };
|
2001-10-13 12:10:19 -04:00
|
|
|
time = { };
|
|
|
|
user = { };
|
|
|
|
window = { };
|
|
|
|
window_empty = { };
|
|
|
|
lag = { priority = "-1"; };
|
|
|
|
act = { priority = "10"; };
|
|
|
|
more = { priority = "-1"; alignment = "right"; };
|
2001-10-21 13:27:43 -04:00
|
|
|
barend = { priority = "100"; alignment = "right"; };
|
2001-10-13 12:10:19 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# statusbar to use in inactive split windows
|
|
|
|
window_inact = {
|
|
|
|
type = "window";
|
|
|
|
placement = "bottom";
|
|
|
|
position = "1";
|
|
|
|
visible = "inactive";
|
2001-10-21 13:27:43 -04:00
|
|
|
items = {
|
|
|
|
barstart = { priority = "100"; };
|
|
|
|
window = { };
|
2002-02-17 04:47:51 -05:00
|
|
|
window_empty = { };
|
2001-11-25 11:35:11 -05:00
|
|
|
more = { priority = "-1"; alignment = "right"; };
|
2001-10-21 13:27:43 -04:00
|
|
|
barend = { priority = "100"; alignment = "right"; };
|
|
|
|
};
|
2001-10-13 12:10:19 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
# we treat input line as yet another statusbar :) It's possible to
|
|
|
|
# add other items before or after the input line item.
|
|
|
|
prompt = {
|
|
|
|
type = "root";
|
|
|
|
placement = "bottom";
|
|
|
|
# we want to be at the bottom always
|
|
|
|
position = "100";
|
|
|
|
visible = "always";
|
|
|
|
items = {
|
|
|
|
prompt = { priority = "-1"; };
|
|
|
|
prompt_empty = { priority = "-1"; };
|
|
|
|
# treated specially, this is the real input line.
|
|
|
|
input = { priority = "10"; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# topicbar
|
|
|
|
topic = {
|
|
|
|
type = "root";
|
|
|
|
placement = "top";
|
|
|
|
position = "1";
|
|
|
|
visible = "always";
|
2001-10-21 13:27:43 -04:00
|
|
|
items = {
|
|
|
|
barstart = { priority = "100"; };
|
|
|
|
topic = { };
|
2002-03-10 09:02:33 -05:00
|
|
|
topic_empty = { };
|
2001-10-21 13:27:43 -04:00
|
|
|
barend = { priority = "100"; alignment = "right"; };
|
|
|
|
};
|
2001-10-13 12:10:19 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|