# too ugly, but might be interesting to try later when I have more time info_eol = "false"; replaces = { "[]<>=" = "%K$0-%n"; }; abstracts = { line_start = "%G»»%n "; timestamp = "%K$0-%n"; hilight = "%_$0-%_"; error = "%R$0-%n"; channel = "%_$0-%_"; nick = "%_$0-%_"; nickhost = "[$0-]"; server = "%_$0-%_"; comment = "[$0-]"; reason = "{comment $0-}"; mode = "{comment $0-}"; ban = "%r$0-%n"; pubmsgnick = "{msgnick $0 $1-}"; pubnick = "%N$0-%n"; pubmsgmenick = "{msgnick $0 $1-}"; menick = "%Y$0-%n"; pubmsghinick = "{msgnick $1 $0$2-}"; msgchannel = "%K:%c$0-%n"; action_core = "%W * $0-%n"; action = "{action_core $0-} "; ownaction = "{action $0-}"; ownaction_target = "{action_core $0}%K:%c$1%n "; pvtaction = "%W (*) $0-%n "; pvtaction_query = "{action $0-}"; pubaction = "{action $0-}"; ownnotice = "[%r$0%K(%R$1-%K)]%n "; notice = "%K-%M$0-%K-%n "; pubnotice_channel = "%K:%m$0-"; pvtnotice_host = "%K(%m$0-%K)"; servernotice = "%g!$0-%n "; ownctcp = "[%r$0%K(%R$1-%K)] "; ctcp = "%g$0-%n"; wallop = "%W$0-%n: "; wallop_nick = "%n$0-"; wallop_action = "%W * $0-%n "; netsplit = "%R$0-%n"; netjoin = "%G$0-%n"; names_nick = "[%_$0%_$1-] "; names_users = "[%g$0-%n]"; names_channel = "%G$0-%n"; dcc = "%g$0-%n"; dccfile = "%_$0-%_"; dccownmsg = "[%r$0%K($1-%K)%n] "; dccownnick = "%R$0-%n"; dccownaction = "{action $0-}"; dccownaction_target = "{action_core $0}%K:%c$1%n "; dccmsg = "[%G$1-%K(%g$0%K)%n] "; dccquerynick = "%G$0-%n"; dccaction = "%W (*dcc*) $0-%n %|"; # tris' modifications below sb_window_inact_bg = "%4"; sb_window_bg = "%1"; sb = " $*"; sbaway = " (%Gaway%n)"; sbservertag = ":$0"; sb_usercount = "{sb $0 members ($1-)}"; sb_uc_ircops = "*$*"; sb_uc_ops = "@$*"; sb_uc_halfops = "%%$*"; sb_uc_voices = "+$*"; sb_uc_normal = "$*"; sb_uc_space = " "; prompt = "<{nick $*}/%R$tag%n> "; prompt_empty = "{prompt $*}"; # the basic styling of how to print message, $0 = nick mode, $1 = nick msgnick = "%[-T]<$0$1-> %|"; # hmm. with replaces above, no diff. # channel name is printed with message msgchannel_inact = "%K:%c$*%n%K/$tag%n"; msgchannel_act = "%K:%c$*%n%K/%n%R$tag%n"; # $0 = nick mode, $1 = nick ownmsgnick = "{msgnick $0 $1-}"; ownnick = "%W$*%n"; # private message from you, $0 = "msg", $1 = target nick ownprivmsg = "%[-T][%r$0%K(%R$1-%K/$tag)%n] "; # own private message in query ownprivmsgnick = "{msgnick $*}"; # XXX add ircnet? ownprivnick = "%W$*%n"; # XXX add ircnet? # private message, $0 = nick, $1 = host privmsg = "%[-T][%R$0%K(%r$1-%K)/$tag%n] "; # private message in query privmsgnick = "{msgnick %R$*%K/$tag%n}"; # highlighted nick/host is printed (joins) channick_hilight = "%[-T]%g$*%n"; chanhost_hilight = "{nickhost %g$*%n}"; # nick/host is printed (parts, quits, etc.) channick = "%[-T]%r$*%n"; chanhost = "{nickhost $*}"; # highlighted channel name is printed channelhilight = "%g$*%n"; # todo: put $C/$tag in prompt? # todo: reverse order of nick/chan/ircnet to ircnet/chan/nick; indent ircnet ownaction_inact = "{action_core $0}%K:%c$1%n%K/$tag%n "; # this is broken? ownaction_act = "{action_core $0}%K:%c$1%n%K/%n%R$tag%n "; pubaction_inact = "{action_core $0}%K:%c$1%n%K/$tag%n "; pubaction_act = "{action_core $0}%K:%c$1%n%K/%n%R$tag%n "; }; formats = { "fe-common/core" = { # don't like irssi's default servertag format -- my eyes can't track the # changing indentation when it's shown on some lines and not others. # for now let's just move it in the most common case -- this needs further # work. see 2001-06-26 in irssi ChangeLog and 2006-08-12 #irssi@freenode # for more info. pubmsg_channel = "{pubmsgnick $3 {pubnick $0}{msgchannel_inact $1}}$2"; # this additionally makes /lastlog #channel work (when #channel == $C) # (shouldn't need %[-T] in first two cases, right?) pubmsg = "{pubmsgnick $2 {pubnick $0}{msgchannel_act $C}}$1"; pubmsg_hilight = "{pubmsghinick $0 $3 $1{msgchannel_act $C}}$2"; pubmsg_hilight_channel = "{pubmsghinick $0 $4 $1{msgchannel_inact $2}}$3"; # from self pubmsg_me = "{pubmsgmenick $2 {menick $0}{msgchannel_act $C}}$1"; pubmsg_me_channel = "{pubmsgmenick $3 {menick $0}{msgchannel_inact $1}}$2"; # ok that's not what i thought it was. try again: own_msg = "{ownmsgnick $2 {ownnick $0}{msgchannel_act $C}}$1"; own_msg_channel = "{ownmsgnick $3 {ownnick $0}{msgchannel_inact $1}}$2"; own_msg_private = "{ownprivmsg msg $0}$1"; own_msg_private_query = "{ownprivmsgnick {ownprivnick $2}}$1"; join = "{channick_hilight $0} {chanhost_hilight $1} has joined {channel $2}%n%K/$tag%n"; part = "{channick $0} {chanhost $1} has left {channel $2}%n%K/$tag%n {reason $3}"; # todo: quits }; # todo: finish fe-common/irc (actions etc) "fe-common/irc" = { own_action = "{ownaction_act $0 $C}$1"; own_action_target = "{ownaction_inact $0 $2}$1"; # this is broken? # own_ctcp = "{ownctcp ctcp $0}$1 $2"; # notice_server = "{servernotice $0}$1"; # notice_public = "{notice $0{pubnotice_channel $1}}$2"; # notice_private = "{notice $0{pvtnotice_host $1}}$2"; # action_private = "{pvtaction $0}$2"; # action_private_query = "{pvtaction_query $0}$2"; action_public = "{pubaction_act $0 $C}$1"; action_public_channel = "{pubaction_inact $0 $1}$2"; }; };