1######################### evilkat.theme by dubkat@efnet ##################################
2# includes formats for scripts such as nact.pl kills.pl and chanact.pl
3# this theme may not look too good directly in a term, but looks ok in putty if you have
4# 'bolded text as alternate color' checked in your putty window/colours settings
5# enjoy.
6
7# default foreground color (%N) - -1 is the "default terminal color"
8default_color = "-1";
9
10# print timestamp/servertag at the end of line, not at beginning
11info_eol = "false";
12
13# these characters are automatically replaced with specified color
14# (dark grey by default)
15replaces = { "!" = "%R$*%n"; "[]=" = "%K$*%n"; };
16
17abstracts = {
18  ##
19  ## generic
20  ##
21
22  # text to insert at the beginning of each non-message line
23  line_start = "";
24
25  # timestamp styling, nothing by default
26  timestamp = "%w$*%n";
27
28  # any kind of text that needs hilighting, default is to bold
29  hilight = "%_$*%_";
30
31  # any kind of error message, default is bright red
32  error = "%R$*%n";
33
34  # channel name is printed
35  channel = "%_$*%_";
36
37  # nick is printed
38  nick = "%_$*%_";
39
40  # nick host is printed
41  nickhost = "$*";
42
43  # server name is printed
44  server = "%_$*%_";
45
46  # some kind of comment is printed
47  comment = "[$*]";
48
49  # reason for something is printed (part, quit, kick, ..)
50  reason = "{comment %_$*%_}";
51
52  # mode change is printed ([+o nick])
53  mode = "{highlight %p$*%n}";
54
55  ##
56  ## channel specific messages
57  ##
58
59  # highlighted nick/host is printed (joins)
60  channick_hilight = "$*";
61  chanhost_hilight = "{nickhost %K$*%n}";
62
63  # nick/host is printed (parts, quits, etc.)
64  channick = "$*";
65  chanhost = "{nickhost %K$*%n}";
66
67  # highlighted channel name is printed
68  channelhilight = "%R$*%n";
69
70  # ban/ban exception/invite list mask is printed
71  ban = "%r$*%n";
72
73  ##
74  ## messages
75  ##
76
77  # the basic styling of how to print message, $0 = nick mode, $1 = nick
78  msgnick = "%K<%n%_$0%_$1%K>%n %|";
79
80  # message from you is printed. "msgownnick" specifies the styling of the
81  # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
82  # whole line.
83
84  # Example1: You want the message text to be green:
85  #  ownmsgnick = "{msgnick $0 $1-}%g";
86  # Example2.1: You want < and > chars to be yellow:
87  #  ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
88  #  (you'll also have to remove <> from replaces list above)
89  # Example2.2: But you still want to keep <> grey for other messages:
90  #  pubmsgnick = "%K{msgnick $0 $1-%K}%n";
91  #  pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
92  #  pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
93  #  ownprivmsgnick = "%K{msgnick  $*%K}%n";
94  #  privmsgnick = "%K{msgnick  %R$*%K}%n";
95
96  # $0 = nick mode, $1 = nick
97  ownmsgnick = "{msgnick $0 $1-}%W";
98  ownnick = "%r$*%n";
99
100  # public message in channel, $0 = nick mode, $1 = nick
101  pubmsgnick = "{msgnick $0$1-}";
102  pubnick = "%N$*%n";
103
104  # public message in channel meant for me, $0 = nick mode, $1 = nick
105  pubmsgmenick = "{msgnick $0$1-}";
106  menick = "%g$*%n";
107
108  # public highlighted message in channel
109  # $0 = highlight color, $1 = nick mode, $2 = nick
110  pubmsghinick = "{msgnick $1 $0$2-%n}";
111
112  # channel name is printed with message
113  msgchannel = "%r:$*%n";
114
115  # private message, $0 = nick, $1 = host
116  privmsg = "[%w$0!%r$1-%n] ";
117
118  # private message from you, $0 = "msg", $1 = target nick
119  ownprivmsg = "[%r$0%b(%R$1-%b)%n] ";
120
121  # own private message in query
122  ownprivmsgnick = "{msgnick  $*}";
123  ownprivnick = "%w$*%n";
124
125  # private message in query
126  privmsgnick = "{msgnick  %r$*%n}";
127
128  ##
129  ## Actions (/ME stuff)
130  ##
131
132  # used internally by this theme
133  action_core = "%p           &%n$*";
134
135  # generic one that's used by most actions
136  action = "{action_core $*} ";
137
138  # own action, both private/public
139  ownaction = "{action %p$*}";
140
141  # own action with target, both private/public
142  ownaction_target = "{action_core $0}%p:%c$1%n ";
143
144  # private action sent by others
145  pvtaction = "%p (*) $*%n ";
146  pvtaction_query = "{action $* }";
147
148  # public action sent by others
149  pubaction = "{action $*}";
150
151
152  ##
153  ## other IRC events
154  ##
155
156  # whois
157  whois = " %r¤ %W$[8]0%n %r¤  %w$1-%n";
158
159  # notices
160  ownnotice = "[%w$0!%r$1-]%n ";
161  notice = "[%rnotice%K(%n$*%K)%n] ";
162  pubnotice_channel = "%R:%R$*";
163  pvtnotice_host = "!%K$*%n";
164  servernotice = "%g¤ %w$*%g ¤%n %_";
165
166  # CTCPs
167  ownctcp = "[%w$0!%c$1-] ";
168  ctcp = "%C$*%n";
169
170  # wallops
171  wallop = "%W$*%n: ";
172  wallop_nick = "%n$*";
173  wallop_action = "%W * $*%n ";
174
175  # netsplits
176  netsplit = "%R$*%n";
177  netjoin = "%G$*%n";
178
179  # /names list
180  names_prefix = "           %r¤%n ";
181  names_nick = "[%_$0%_$1-] ";
182  names_nick_op = "%r{names_nick $*}%n";
183  names_nick_halfop = "%r{names_nick $*}%n";
184  names_nick_voice = "%y{names_nick $*}%n";
185  names_users = "[%w$*%n]";
186  names_channel = "%r$*%n";
187
188  # DCC
189  dcc = "%g$*%n";
190  dccfile = "%_$*%_";
191
192  # DCC chat, own msg/action
193  dccownmsg = "[%w$0!%r$1-%n] ";
194  dccownnick = "%w$*%n";
195  dccownquerynick = "%W$*%n";
196  dccownaction = "{action $*}";
197  dccownaction_target = "{action_core $0}%B:%c$1%n ";
198
199  # DCC chat, others
200  dccmsg = "[%w$1-!%g$0%n] ";
201  dccquerynick = "%G$*%n";
202  dccaction = "%W (*dcc*) $*%n %|";
203
204  ##
205  ## statusbar
206  ##
207
208  # default background for all statusbars. You can also give
209  # the default foreground color for statusbar items.
210  sb_background = "%0%K";
211
212  # default backround for "default" statusbar group
213  sb_default_bg = "%0%K";
214  # background for prompt / input line
215  sb_prompt_bg = "%n";
216  # background for info statusbar
217  sb_info_bg = "%0";
218  # background for topicbar (same default)
219  #sb_topic_bg = "%0";
220
221  # text at the beginning of statusbars. sb-item already puts
222  # space there,so we don't use anything by default.
223  sbstart = " %r¤%n ";
224  # text at the end of statusbars. Use space so that it's never
225  # used for anything.
226  sbend = " %r¤%n ";
227
228  topicsbstart = "{sbstart $*}";
229  topicsbend = "{sbend $*}";
230
231  prompt = "[%r$S%W/%r$*%n]%r:%W ";
232
233  sb = " [%K$*%n]";
234  sbmode = " (+%K$*%n)";
235  sbaway = " (%Kaway%n)";
236  sbservertag = ":$1%r";
237  sbnickmode = "%_$0%_";
238
239  # activity in statusbar
240
241  # ',' separator
242  sb_act_sep = "$*";
243  # normal text
244  sb_act_text = "%Y$*";
245  # public message
246  sb_act_msg = "%w$*";
247  # hilight
248  sb_act_hilight = "%G$*";
249  # hilight with specified color, $0 = color, $1 = text
250  sb_act_hilight_color = "$0$1-%n";
251
252  #usercount
253  sb_usercount = "{sb total:%w$0%n $1-}";
254  sb_uc_ircops = "opers:%w$*%n";
255  sb_uc_ops = "chanop:%w$*%n";
256  sb_uc_halfops = "halfop:%w$*%n";
257  sb_uc_voices = "voice:%w$*%n";
258  sb_uc_normal = "peon:%w$*%n";
259  sb_uc_space = " ";
260
261  #nact
262  nact_display = "%B(%b$3%n%B)%n$0%G>%W$1%R>%n$2%B(%b$4%B)%n";
263};
264
265formats = {
266  "fe-common/core" = {
267    pubmsg = "{pubmsgnick $2 {pubnick $[-9]0}}$1";
268    join = "%gjoin       %G>%n {nick %W$0%n}!%n{chanhost_hilight $1}";
269    part = "%cpart       %C<%n {nick %w$0%n}!%n{chanhost_hilight $1} {reason $3}";
270    kick = "%rkick       %R<%n {nick %w$0%n} {reason %w$3%n} by {nick $2}";
271    quit = "%Kquit       %K<%n {nick %K$0%n}!%n{chanhost_hilight $1} {reason $2}";
272    nick_changed = "%ynick       %y~%n {nick %w$0%n} %Nis now {nick %W$1%n}";
273
274    own_msg = "{ownmsgnick $2 {ownnick $[-9]0}}$1";
275    own_msg_channel = "{ownmsgnick $3 {ownnick $[-9]0}{msgchannel $1}}$2";
276    pubmsg_me = "{pubmsgmenick $2 {menick $[-9]0}}$1";
277    pubmsg_me_channel = "{pubmsgmenick $3 {menick $[-9]0}{msgchannel $1}}$2";
278    pubmsg_hilight = "{pubmsghinick $0 $3 $[-9]1}$2";
279    pubmsg_hilight_channel = "{pubmsghinick $0 $4 $[-9]1{msgchannel $2}}$3";
280    pubmsg_channel = "{pubmsgnick $3 {pubnick $[-9]0}{msgchannel $1}}$2";
281    own_msg_private_query = "{ownprivmsgnick {ownprivnick $[-9]2}}$1";
282    msg_private_query = "{privmsgnick $[-9]0}$2";
283  };
284  "fe-common/irc" = {
285    netsplit = "{netsplit %rsplit     %R<<%n} {server $0} %w<-%r\\->%n {server %R$1%n}: [$2]";
286    netsplit_more = "{netsplit %rsplit     %R<<%n} {server $0} %W<-%r\\->%n {server %R$1%n}: [$2%_+$3 more%_]";
287    netsplit_join = "{netjoin %gre-join   %G>>%n} [$0]";
288    netsplit_join_more = "{netjoin %gre-join   %G>>%n} [$0\012%_+$1 more%_]";
289    chanmode_change = "%rmode       #%n [{mode $1}] by {nick $2}";
290    server_chanmode_change = "%rserv       #%n [{mode $1}] by {nick $2}";
291    own_action = "{ownaction  $0}%|$1";
292    action_public = "{pubaction  $0}%|$1";
293    who = "%#{channelhilight $[-10]0} {nick %n$[9]1%n} $[3]2 $[2]3 {comment {hilight $[10]6}} {comment $[!18]7} {chanhost %n$4@$5}";
294  };
295
296  # Script Addons....
297
298  # kills.pl reformat
299  "Irssi::Script::kills" = {
300    kill_public = "%rkilled     ¤%n {channick %w$0%n}!{chanhost $1%n} {reason %w$4%n} by {nick %W$2%n}$3";
301  };
302};
303
304