2001-07-28 21:48:42 -04:00
|
|
|
servers = (
|
2001-02-17 14:44:22 -05:00
|
|
|
{ address = "irc.stealth.net"; chatnet = IRCNet; port = 6668; },
|
2000-09-26 17:11:17 -04:00
|
|
|
{ address = "irc.efnet.net"; chatnet = EFNet; port = 6667; },
|
2000-10-19 07:34:07 -04:00
|
|
|
{ address = "irc.undernet.org"; chatnet = Undernet; port = 6667; },
|
2001-04-10 10:07:24 -04:00
|
|
|
{ address = "irc.dal.net"; chatnet = DALnet; port = 6667; },
|
2000-09-26 17:11:17 -04:00
|
|
|
{ address = "irc.openprojects.net"; chatnet = OPN; port = 6667; },
|
|
|
|
{ address = "irc.ptlink.net"; chatnet = PTlink; port = 6667; }
|
2001-02-17 14:44:22 -05:00
|
|
|
{ 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 = {
|
2001-08-22 10:21:15 -04:00
|
|
|
IRCNet = { type = "IRC"; max_kicks = 4; max_modes = 3; max_msgs = 5; max_whois = 4; max_query_chans = "10"; };
|
2001-08-13 10:14:09 -04:00
|
|
|
EFNet = { type = "IRC"; max_kicks = 4; max_modes = 4; max_msgs = 3; max_query_chans = "10"; };
|
|
|
|
Undernet = { type = "IRC"; max_kicks = 4; max_modes = 3; max_msgs = 3; };
|
|
|
|
DALNet = { type = "IRC"; max_kicks = 4; max_modes = 6; max_msgs = 3; max_query_chans = "10"; };
|
|
|
|
OPN = { type = "IRC"; max_kicks = 1; max_modes = 6; max_msgs = 100; max_query_chans = "10"; };
|
|
|
|
PTLink = { type = "IRC"; max_kicks = 1; max_modes = 6; max_msgs = 100; max_query_chans = "10"; };
|
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 = (
|
2001-02-17 14:44:22 -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-08-24 09:34:35 -04: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";
|
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 = {
|
|
|
|
# treated "normally", you could change the time/user name to whatever
|
|
|
|
time = "{sb $Z}";
|
|
|
|
user = "{sb $cumode$N{sbmode $usermode}{sbaway $A}}";
|
2001-10-19 08:35:03 -04:00
|
|
|
topic = " $topic";
|
2001-10-19 08:13:59 -04:00
|
|
|
info = " Irssi v$J - http://irssi.org/beginner/ - go read it";
|
2001-10-13 12:10:19 -04:00
|
|
|
|
|
|
|
# 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}}";
|
|
|
|
prompt = "[$[.15]T] ";
|
|
|
|
prompt_empty = "[$winname] ";
|
|
|
|
|
|
|
|
# all of these treated specially, they're only displayed when needed
|
|
|
|
#mail = "{sb Mail: $0}";
|
|
|
|
lag = "{sb Lag: $0}";
|
|
|
|
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 = {
|
|
|
|
# window, root
|
|
|
|
type = "window";
|
|
|
|
# top, bottom
|
|
|
|
placement = "bottom";
|
|
|
|
# number
|
|
|
|
position = "1";
|
|
|
|
# active, inactive, always, never (disables the statusbar)
|
|
|
|
visible = "active";
|
|
|
|
|
|
|
|
# list of items in statusbar in the display order
|
|
|
|
items = {
|
|
|
|
time = { };
|
|
|
|
user = { };
|
|
|
|
window = { };
|
|
|
|
window_empty = { };
|
|
|
|
mail = { };
|
|
|
|
lag = { priority = "-1"; };
|
|
|
|
act = { priority = "10"; };
|
|
|
|
more = { priority = "-1"; alignment = "right"; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# statusbar to use in inactive split windows
|
|
|
|
window_inact = {
|
|
|
|
type = "window";
|
|
|
|
placement = "bottom";
|
|
|
|
position = "1";
|
|
|
|
visible = "inactive";
|
|
|
|
items = { window = { }; window_empty = { }; more = { }; };
|
|
|
|
};
|
|
|
|
|
|
|
|
# (annoying) infobar requesting new users to visit irssi.org and read
|
|
|
|
# a bit of documentation :)
|
|
|
|
info = {
|
|
|
|
type = "root";
|
|
|
|
placement = "bottom";
|
|
|
|
position = "1";
|
|
|
|
visible = "always";
|
|
|
|
items = { info = { }; };
|
|
|
|
};
|
|
|
|
|
|
|
|
# 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";
|
|
|
|
items = { topic = { }; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|