-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyles.lua
656 lines (656 loc) · 37.4 KB
/
styles.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
return {
[0] = { -- Players Title / Zone Enter Message
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.+) title: (.+)',
[2] = '\\cs('..style_templates['title_person']..')%1\\cr[%2 title] = \\cs('..style_templates['title_person']..')%3\\cr',
[3] = '^([0-9]+:[0-9]+:[0-9]+:)=== Area: (.*) ===',
[4] = '\\cs('..style_templates['timestamp']..')%1\\cr=== Area -> \\cs('..style_templates['zone_name']..')%2\\cr ===',
},
[1] = { -- Say
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(%a+)%s:(.*)',
[2] = '\\cs('..style_templates['say_time']..')%1\\cr[\\cs('..style_templates['say_person']..')%2\\cr]\\cs('..style_templates['say_text']..')%3\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['say_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['say_text']..')',
},
[2] = {
[1] = '^([0-9]+:[0-9]+:[0-9]+)([^%[]+)%[([^%]]+)%](.*)',
[2] = '\\cs('..style_templates['shout_time']..')%1\\cr%2[\\cs('..style_templates['shout_person']..')%3\\cr]\\cs('..style_templates['shout_text']..')%4\\cr',
-- [3] = '(.+)\n(.+)\\cr',
-- [4] = '%1\\cr\n\\cs('..style_templates['shout_text']..')%2\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['shout_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['shout_text']..')',
},
[3] = {
[1] = '^([0-9]+:[0-9]+:[0-9]+)([^%[]+)%[([^%]]+)%](.*)',
[2] = '\\cs('..style_templates['yell_time']..')%1\\cr%2[\\cs('..style_templates['yell_person']..')%3\\cr]\\cs('..style_templates['yell_text']..')%4\\cr',
-- [3] = '(.+)\n(.+)\\cr',
-- [4] = '%1\\cr\n\\cs('..style_templates['yell_text']..')%2\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['yell_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['yell_text']..')',
},
[4] = { -- Tell
[1] = '^([0-9]+:[0-9]+:[0-9]+):>>([^:]+):(.*)$',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr>>\\cs('..style_templates['outgoing_tell_name']..')%2\\cr:\\cs('..style_templates['outgoing_tell_text']..')%3\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['outgoing_tell_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['outgoing_tell_text']..')',
},
[5] = { -- party
[1] = '^([0-9]+:[0-9]+:[0-9]+)[^%(]+%(([^%)]+)%)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr<\\cs('..style_templates['party_name']..')%2\\cr>\\cs('..style_templates['party_text']..')%3\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['party_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['party_text']..')',
},
[6] = { --ls1
[1] = '^([0-9]+:[0-9]+:[0-9]+)[^<]+<([^>]+)>(.*)',
[2] = '\\cs('..style_templates['linkshell1_time']..')%1\\cr<\\cs('..style_templates['linkshell1_name']..')%2\\cr>\\cs('..style_templates['linkshell1_text']..')%3\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['linkshell1_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['linkshell1_text']..')',
},
[7] = { -- outgoing emote
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.+)( '..windower.ffxi.get_player().name..' )(.*)', --Someone Emoting you
[2] = '\\cs('..style_templates['emote_time']..')%1\\cr * \\cs('..style_templates['emote_text']..')%2\\cr\\cs('..style_templates['emote_person']..')%3\\cr\\cs('..style_templates['emote_text']..')%4\\cr',
[3] = '^([0-9]+:[0-9]+:[0-9]+:)(.?'..windower.ffxi.get_player().name..')(.*)', --You Emoting
[4] = '\\cs('..style_templates['emote_time']..')%1\\cr * \\cs('..style_templates['emote_person']..')%2\\cr\\cs('..style_templates['emote_text']..')%3\\cr',
[5] = '^([0-9]+:[0-9]+:[0-9]+:)(.+)', --Two assholes emoting solo/eachother.
[6] = '\\cs('..style_templates['emote_time']..')%1\\cr * \\cs('..style_templates['emote_text']..')%2\\cr',
},
[8] = { -- Default settings for React use this ID
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['battle_dmg_1']..')%2\\cr',
},
[9] = { -- Say
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(%a+)%s:(.*)', --Addon log message
[2] = '\\cs('..style_templates['say_time']..')%1\\cr[\\cs('..style_templates['say_person']..')%2\\cr]\\cs('..style_templates['say_text']..')%3\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['say_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['say_text']..')',
},
[10] = { -- shout
[1] = '^([0-9]+:[0-9]+:[0-9]+)([^%[]+)%[([^%]]+)%](.*)',
[2] = '\\cs('..style_templates['shout_time']..')%1\\cr%2[\\cs('..style_templates['shout_person']..')%3\\cr]\\cs('..style_templates['shout_text']..')%4\\cr',
-- [3] = '(.+)\n(.+)\\cr',
-- [4] = '%1\\cr\n\\cs('..style_templates['shout_text']..')%2\\cr',
[7] = '{(\n?):',
[8] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['shout_text']..')',
[9] = ':(\n?)}',
[10] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['shout_text']..')',
},
[11] = { -- yell
[1] = '^([0-9]+:[0-9]+:[0-9]+)([^%[]+)%[([^%]]+)%](.*)',
[2] = '\\cs('..style_templates['yell_time']..')%1\\cr%2[\\cs('..style_templates['yell_person']..')%3\\cr]\\cs('..style_templates['yell_text']..')%4\\cr',
-- [3] = '(.+)\n(.+)\\cr',
-- [4] = '%1\\cr\n\\cs('..style_templates['yell_text']..')%2\\cr',
[3] = '{(\n?):',
[4] = '\\cs(0,255,0){\\cr\\cs('..style_templates['yell_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['yell_text']..')',
},
[12] = { -- tell
[1] = '^([0-9]+:[0-9]+:[0-9]+)([^>]+)>>(.*)$',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['incoming_tell_name']..')%2\\cr>>\\cs('..style_templates['incoming_tell_text']..')%3\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['party_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['party_text']..')',
},
[13] = { --party
[1] = '^([0-9]+:[0-9]+:[0-9]+)[^%(]+%(([^%)]+)%)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr<\\cs('..style_templates['party_name']..')%2\\cr>\\cs('..style_templates['party_text']..')%3\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['party_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['party_text']..')',
},
[14] = { -- ls1
[1] = '^([0-9]+:[0-9]+:[0-9]+)[^<]+<([^>]+)>(.*)',
[2] = '\\cs('..style_templates['linkshell1_time']..')%1\\cr<\\cs('..style_templates['linkshell1_name']..')%2\\cr>\\cs('..style_templates['linkshell1_text']..')%3\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['linkshell1_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['linkshell1_text']..')',
},
[15] = { -- incoming emote
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.+)( '..windower.ffxi.get_player().name..' )(.*)', --Someone Emoting you
[2] = '\\cs('..style_templates['emote_time']..')%1\\cr * \\cs('..style_templates['emote_text']..')%2\\cr\\cs('..style_templates['emote_person']..')%3\\cr\\cs('..style_templates['emote_text']..')%4\\cr',
[3] = '^([0-9]+:[0-9]+:[0-9]+:)(.?'..windower.ffxi.get_player().name..')(.*)', --You Emoting
[4] = '\\cs('..style_templates['emote_time']..')%1\\cr * \\cs('..style_templates['emote_person']..')%2\\cr\\cs('..style_templates['emote_text']..')%3\\cr',
[5] = '^([0-9]+:[0-9]+:[0-9]+:)(.+)', --Two assholes emoting solo/eachother.
[6] = '\\cs('..style_templates['emote_time']..')%1\\cr * \\cs('..style_templates['emote_text']..')%2\\cr',
},
[20] = { -- battle
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[?('..windower.ffxi.get_player().name..'\'?s?)%]?',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
[5] = '(.-)( [0-9]+%s)(.*)',
[6] = '%1\\cr\\cs('..style_templates['battle_dmg_1']..')%2\\cr%3',
[7] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%](.+)',--
[8] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',--
[9] = '(.*) %-> (.*)',
[10] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[21] = { -- battle
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[?('..windower.ffxi.get_player().name..'\'?s?)%]?',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
[5] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%] (.+)',
[6] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr] %3',
[7] = '(.*) %-> (.*)',
[8] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[22] = { --Party Members casting spell
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[('..windower.ffxi.get_player().name..'\'?s?)%]',
[4] = '[\\cs('..style_templates['battle_text_1']..')%1\\cr]',
[5] = '(.-)( [0-9]+%s)(.*)',
[6] = '%1\\cr\\cs('..style_templates['battle_dmg_1']..')%2\\cr%3',
[7] = '(.*) %-> (.*)',
[8] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[23] = { --casting spell on trust?
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)('..windower.ffxi.get_player().name..'\'?s?)%]?(.+)',
[4] = '%1[\\cs('..style_templates['battle_text_1']..')%2\\cr] %3',
[5] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)%[?('..windower.ffxi.get_player().name..'\'?s?.-)([0-9]+)(.*)',
[6] = '%1%2\\cs('..style_templates['battle_dmg_1']..')%3\\cr%4',
[7] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%] (.-[0-9]+)(.*)',
[8] = '%1[\\cs('..style_templates['battle_text_1']..')%2\\cr]\\cs('..style_templates['battle_dmg_1']..')%3\\cr%4',
[9] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%](.+)',
[10] = '%1[\\cs('..style_templates['battle_text_1']..')%2\\cr] %3',
[11] = '(.*) %-> (.*)',
[12] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[25] = { -- battle
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[?('..windower.ffxi.get_player().name..'\'?s?)%]?',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
[5] = '(.-)( [0-9]+%s)(.*)',
[6] = '%1\\cr\\cs('..style_templates['battle_dmg_1']..')%2\\cr%3',
[7] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%](.+)',--
[8] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',--
[9] = '(.*) %-> (.*)',
[10] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[26] = { -- battle
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[?('..windower.ffxi.get_player().name..'\'?s?)%]?',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
[5] = '(.-)( [0-9]+%s)(.*)',
[6] = '%1\\cr\\cs('..style_templates['battle_dmg_1']..')%2\\cr%3',
[7] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%](.+)',--
[8] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',--
[9] = '(.*) %-> (.*)',
[10] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[27] = { -- battle
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[?('..windower.ffxi.get_player().name..'\'?s?)%]?',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
[5] = '(.-)( [0-9]+%s)(.*)',
[6] = '%1\\cr\\cs('..style_templates['battle_dmg_1']..')%2\\cr%3',
[7] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%](.+)',--
[8] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',--
[9] = '(.*) %-> (.*)',
[10] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[28] = { --battle
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '^(.+[0-9]+:[0-9]+:[0-9]+.*)%[([^%]]+)%](.*) ('..windower.ffxi.get_player().name..').*$',
[4] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3\\cs('..style_templates['battle_text_1']..') %4\\cr',
[5] = '(.*)%-> ('..windower.ffxi.get_player().name..')',
[6] = '%1-> \\cs('..style_templates['battle_text_1']..')%2\\cr',
[7] = '^(.+[0-9]+:[0-9]+:[0-9]+.*)%[([^%]]+)%](.*) ('..windower.ffxi.get_player().name..').*$',
[8] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3\\cs('..style_templates['battle_text_1']..') %4\\cr',
[9] = '(.*)%s?(%s[0-9]+%s)(.*)',
[10] = '%1\\cr\\cs('..style_templates['battle_dmg_1']..')%2\\cr%3',
[11] ='(.*)%[([1-9]+)%](.*)',
[12] ='%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',
},
[29] = { --battle
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[?('..windower.ffxi.get_player().name..'\'?s?)%]?',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
[5] = '(.-)( [0-9]+%s)(.*)',
[6] = '%1\\cr\\cs('..style_templates['battle_dmg_1']..')%2\\cr%3',
[7] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%](.+)',--
[8] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',--
[9] = '(.*) %-> ([^%[]+)',
[10] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[30] = {
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[?('..windower.ffxi.get_player().name..'\'?s?)%]?',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
[5] = '(.-)( [0-9]+%s)(.*)',
[6] = '%1\\cr\\cs('..style_templates['battle_dmg_1']..')%2\\cr%3',
[7] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%](.+)',--
[8] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',--
[9] = '(.*) %-> ([^%[]+)',
[10] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[31] = {
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '(.*)'..string.char(129,168)..'(.*)',
[4] = '%1->\\cs(240,230,140) %2\\cr',
[5] = '(.*)-> ('..windower.ffxi.get_player().name..')',
[6] = '%1-> \\cs(0,255,255)%2\\cr',
},
[32] = {
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[?('..windower.ffxi.get_player().name..'\'?s?)%]?',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
[5] = '(.-)( [0-9]+%s)(.*)',
[6] = '%1\\cr\\cs('..style_templates['battle_dmg_1']..')%2\\cr%3',
[7] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%](.+)',--
[8] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',--
[9] = '(.*) %-> ([^%[]+)',
[10] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[33] = {
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[?('..windower.ffxi.get_player().name..'\'?s?)%]?',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
[5] = '(.-)( [0-9]+%s)(.*)',
[6] = '%1\\cr\\cs('..style_templates['battle_dmg_1']..')%2\\cr%3',
[7] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%](.+)',--
[8] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',--
[9] = '(.*) %-> ([^%[]+)',
[10] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[36] = { -- defeats
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)('..windower.ffxi.get_player().name..'\'?s?)%]? defeats (.+)',
[4] = '%1[\\cs('..style_templates['player_name_1']..')%2\\cr] defeats \\cs(240,230,140)%3\\cr',
[5] = '^(.+[0-9]+:[0-9]+:[0-9]+.*)%[([^%]]+)%](.*) ('..windower.ffxi.get_player().name..').*$',
[6] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3\\cs('..style_templates['player_name_1']..')%4\\cr',
},
[50] = {
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '^(.+[0-9]+:[0-9]+:[0-9]+:.-)%[('..windower.ffxi.get_player().name..'\'?s?)%] (.+)',
[4] = '%1[\\cs('..style_templates['battle_name_1']..')%2\\cr] %3',
[5] = '^(.+[0-9]+:[0-9]+:[0-9]+:.-%[)([^%]\\]+)%]? (.+)',
[6] = '%1\\cs('..style_templates['battle_name_2']..')%2\\cr] %3',
[7] = '(.*) %-> (.*)',
[8] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[56] = { -- Party member casting spell
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '(.*) %-> (.*)',
[4] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
-- [5] = '([^>]+)>.+('..windower.ffxi.get_player().name..')',
-- [6] = '%1 -> \\cs('..style_templates['battle_text_1']..')%2\\cr',
},
[57] = { -- Landed spell
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)('..windower.ffxi.get_player().name..'\'?s?)%]?(.+)',
[4] = '%1[\\cs('..style_templates['battle_text_1']..')%2\\cr]%3',
[5] = '(.*) %-> (.*)',
[6] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
[7] = '^(.+[0-9]+:[0-9]+:[0-9]+.-)('..windower.ffxi.get_player().name..') ([A-Za-z]+) .-([^%(]+)%(([^%)]+)%)',
[8] = '%1[\\cs('..style_templates['battle_text_1']..')%2\\cr] %3 ->\\cs('..style_templates['battle_name_2']..')%4\\cr(%5)',
},
[59] = { -- No effect casted on you aoe
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '(.*) %-> (.*)',
[4] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
-- [5] = '^(.+[0-9]+:[0-9]+:[0-9]+.-)('..windower.ffxi.get_player().name..') ([A-Za-z]+) .-([^%(]+)%(([^%)]+)%)',
-- [6] = '%1[\\cs('..style_templates['battle_text_1']..')%2\\cr] %3 ->\\cs('..style_templates['battle_name_2']..')%4\\cr(%5)',
},
[63] = { -- No effect spell / Resist
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '(.*) %-> (.*)',
[4] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[64] = { -- No effect spell
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '(.*) %-> (.*)',
[4] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
[5] = '^(.+[0-9]+:[0-9]+:[0-9]+.-)('..windower.ffxi.get_player().name..') ([A-Za-z]+) .-([^%(]+)%(([^%)]+)%)',
[6] = '%1[\\cs('..style_templates['battle_text_1']..')%2\\cr] %3 ->\\cs('..style_templates['battle_name_2']..')%4\\cr(%5)',
},
[69] = { -- No effect spell
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '(.*) %-> (.*)',
[4] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
[5] = '^(.+[0-9]+:[0-9]+:[0-9]+.-)('..windower.ffxi.get_player().name..') ([A-Za-z]+) .-([^%(]+)%(([^%)]+)%)',
[6] = '%1[\\cs('..style_templates['battle_text_1']..')%2\\cr] %3 ->\\cs('..style_templates['battle_name_2']..')%4\\cr(%5)',
},
[81] = { -- You used item
[1] = '^([0-9]+:[0-9]+:[0-9]+.+)%[('..windower.ffxi.get_player().name..')%](.+)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr[\\cs('..style_templates['battle_text_1']..')%2\\cr]%3',
[3] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[4] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[5] = '(.*) %-> (.*)',
[6] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
-- [7] = '^([0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%](.+)',
-- [8] = '\\cs('..style_templates['timestamp']..')%1\\cr[\\cs('..style_templates['battle_name_2']..')%2\\cr] %3',
},
[90] = { -- Use item
[1] = '^([0-9]+:[0-9]+:[0-9]+.+)%[('..windower.ffxi.get_player().name..')%](.+)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr[\\cs('..style_templates['battle_name_1']..')%2\\cr]%3',
[3] = '^([0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%](.+)',
[4] = '\\cs('..style_templates['timestamp']..')%1\\cr[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',
[5] = '(.*) %-> (.*)',
[6] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[100] = { -- job ability
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[('..windower.ffxi.get_player().name..'\'?s?)%]',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
-- [3] = '^(.+[0-9]+:[0-9]+:[0-9]+.-)%[?('..windower.ffxi.get_player().name..'\'?s?)%]?(.+)',
-- [4] = '%1[\\cs('..style_templates['battle_text_1']..')%2\\cr]%3',
[5] = '^(.+[0-9]+:[0-9]+:[0-9]+[^%[%(]-)%[([^%]]+)%](.+)',
[6] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',
[7] = '(.*) %-> (.*)',
[8] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[101] = { -- job ability
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[('..windower.ffxi.get_player().name..'\'?s?)%]',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
-- [3] = '^(.+[0-9]+:[0-9]+:[0-9]+.-)%[?('..windower.ffxi.get_player().name..'\'?s?)%]?(.+)',
-- [4] = '%1[\\cs('..style_templates['battle_text_1']..')%2\\cr]%3',
[5] = '^(.+[0-9]+:[0-9]+:[0-9]+[^%[%(]-)%[([^%]]+)%](.+)',
[6] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',
[7] = '(.*) %-> (.*)',
[8] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[102] = { -- job ability / Bust
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[('..windower.ffxi.get_player().name..'\'?s?)%]',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
[5] = '^(.+[0-9]+:[0-9]+:[0-9]+[^%[%(]-)%[([^%]]+)%](.+)',
[6] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',
[7] = '(.*) %-> (.*)',
[8] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[109] = { -- job ability
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[('..windower.ffxi.get_player().name..'\'?s?)%]',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
-- [3] = '^(.+[0-9]+:[0-9]+:[0-9]+.-)%[?('..windower.ffxi.get_player().name..'\'?s?)%]?(.+)',
-- [4] = '%1[\\cs('..style_templates['battle_text_1']..')%2\\cr]%3',
[5] = '^(.+[0-9]+:[0-9]+:[0-9]+[^%[%(]-)%[([^%]]+)%](.+)',
[6] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',
[7] = '(.*) %-> (.*)',
[8] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[110] = { --ws mob
[1] = '^([0-9]+:[0-9]+:[0-9]+.+)(%['..windower.ffxi.get_player().name..'\'?s?)%]?%s?(.+)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['battle_text_1']..')%2\\cr] %3',
[3] = '^([0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%]?%s?(.+)',
[4] = '\\cs('..style_templates['timestamp']..')%1\\cr[\\cs('..style_templates['battle_name_2']..')%2\\cr] %3',
[5] = '(.*) %-> (.*)',
[6] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[112] = { -- job ability
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[('..windower.ffxi.get_player().name..'\'?s?)%]',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
-- [3] = '^(.+[0-9]+:[0-9]+:[0-9]+.-)%[?('..windower.ffxi.get_player().name..'\'?s?)%]?(.+)',
-- [4] = '%1[\\cs('..style_templates['battle_text_1']..')%2\\cr]%3',
[5] = '^(.+[0-9]+:[0-9]+:[0-9]+[^%[%(]-)%[([^%]]+)%](.+)',
[6] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',
[7] = '(.*) %-> (.*)',
[8] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[114] = { --evaded
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '%[?('..windower.ffxi.get_player().name..'\'?s?)%]?',
[4] = '[\\cs('..style_templates['battle_name_1']..')%1\\cr]',
[5] = '(.-)( [0-9]+%s)(.*)',
[6] = '%1\\cr\\cs('..style_templates['battle_dmg_1']..')%2\\cr%3',
[7] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)%[([^%]]+)%](.+)',--
[8] = '%1[\\cs('..style_templates['battle_name_2']..')%2\\cr]%3',--
[9] = '(.*) %-> ([^%[]+)',
[10] = '%1 ->\\cs('..style_templates['battle_name_2']..') %2\\cr',
},
[121] = { --AH / Search / DI evals / Synthesis
[1] = '^([0-9]+:[0-9]+:[0-9]+:)Your (.+) sold',
[2] = '\\cs('..style_templates['timestamp']..')%1\\crYour \\cs('..style_templates['ah_item']..')%2 \\cr\\cs('..style_templates['ah_text']..')sold.\\cr',
[3] = '^([0-9]+:[0-9]+:[0-9]+:)You take the (.+) out(.+)',
[4] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['ah_text']..')You take the \\cs('..style_templates['ah_item']..')%2 \\cr\\cs('..style_templates['ah_text']..')out %3\\cr',
[5] = '^([0-9]+:[0-9]+:[0-9]+:)(Slot [0-9]+).+buyer paid for the.?(.+).?you put on auction,.?(.+)',
[6] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['ah_text']..')%2 \\cr[\\cs('..style_templates['ah_item']..')%3\\cr] From AuctionHouse For: \\cs('..style_templates['ah_text']..')%4\\cr',
[7] = '^([0-9]+:[0-9]+:[0-9]+:)(.+):(.*)', --Addon log message
[8] = '\\cs('..style_templates['timestamp']..')%1\\cr[\\cs('..style_templates['addon_log_header']..')%2\\cr] \\cs('..style_templates['addon_log']..')%3\\cr',
[9] = '^([0-9]+:[0-9]+:[0-9]+:)(.-)([0-9,]+)(.*)',
[10] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['ah_text']..')%2\\cr[\\cs('..style_templates['ah_highlight']..')%3\\cr]\\cs('..style_templates['ah_text']..')%4\\cr',
[11] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[12] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['ah_text']..')%2\\cr',
[13] = '(.*)%[.*%),.*cr%](.*)',
[14] = '%1%2',
[15] = '(.*)(%+).*%[.*%)([0-9]+).*cr%](.*)',
[16] = '%1%2%3%4',
[17] = 'sell an(.+)to',
[18] = 'sell an\\cs(0,255,0)%1\\cr\\cs('..style_templates['ah_text']..')to',
},
[122] = { -- Unable to see / Auto-Target
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.+) to see (.+).',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['battle_unable_see']..')%2 to see \\cr-> \\cs('..style_templates['battle_name_2']..')%3\\cr',
[3] = '^([0-9]+:[0-9]+:[0-9]+:)(.+) is out of range.*$',
[4] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['battle_name_2']..')%2\\cr is out of range.',
[5] = '^([0-9]+:[0-9]+:[0-9]+:)(.+) lose sight of (.+).',
[6] = '\\cs('..style_templates['timestamp']..')%1\\cr%2 lose sight of \\cs('..style_templates['battle_name_2']..')%3\\cr.',
[7] = '^([0-9]+:[0-9]+:[0-9]+:)(.+)',
[8] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['battle_text_1']..')%2\\cr',
},
[123] = { -- Level of difficulty
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.-)([0-9]+)(.*)',
[2] = '\\cs('..style_templates['ilvl_message_time']..')%1\\cr\\cs('..style_templates['ilvl_message_text']..')%2\\cr[\\cs('..style_templates['ilvl_message_level']..')%3\\cr]\\cs('..style_templates['ilvl_message_text']..')%4\\cr',
[3] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[4] = '\\cs('..style_templates['ilvl_message_time']..')%1\\cr\\cs('..style_templates['ilvl_message_text']..')%2\\cr',
},
[127] = { -- ROE / Obtains
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.-)([0-9]+)(.-)([0-9]+)%!',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['obtains_text']..')%2\\cr%3\\cs('..style_templates['obtains_text']..')%4\\cr%5!',
[3] = '^([0-9]+:[0-9]+:[0-9]+:)(%a+):(.*)', --Addon log message
[4] = '\\cs('..style_templates['timestamp']..')%1\\cr[\\cs('..style_templates['addon_log_header']..')%2\\cr]\\cs('..style_templates['addon_log']..')%3\\cr',
[5] = '^([0-9]+:[0-9]+:[0-9]+:)([^:]+): (.*)',
[6] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['addon_log_header']..')%2\\cr -> %3',
[7] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)('..windower.ffxi.get_player().name..'\'?s?)%]? obtains an?(.+)',
[8] = '\\cs('..style_templates['timestamp']..')%1\\cr[\\cs('..style_templates['player_name_1']..')%2\\cr] obtains a\\cs('..style_templates['obtains_item']..')%3\\cr',
[9] = '^([0-9]+:[0-9]+:[0-9]+:)(.+)%.',
[10] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['obtains_text']..')%2\\cr.',
},
[129] = { -- Skillup
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['skillup_text']..')%2\\cr',
},
[131] = { -- XP
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.-)([0-9]+)(.-)([0-9]+)%.',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['xp_text']..')%2\\cr%3\\cs('..style_templates['xp_text']..')%4\\cr%5.',
[3] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[4] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['xp_text']..')%2\\cr',
[5] = '(.-)([0-9]+) (.+)',
[6] = '%1\\cr%2 \\cs('..style_templates['xp_text']..')%3\\cr',
[7] = '(.*!).-('..windower.ffxi.get_player().name..')(.*)',
[8] = '%1 %2%3',
},
[133] = { -- Delevel
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.-)([0-9]+)%.',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['xp_text']..')%2\\cr[%3].',
[3] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[4] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['xp_text']..')%2\\cr',
[5] = '(.-) ([0-9]+%.)',
[6] = '%1\\cr[\\cs('..style_templates['xp_text']..')%2\\cr]',
[7] = '(.*!).-('..windower.ffxi.get_player().name..')(.*)',
[8] = '%1 %2%3',
},
[144] = { -- npc chat
[1] = '^([0-9]+:[0-9]+:[0-9]+:)([^:]+) :(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr**[\\cs('..style_templates['npc_name']..')%2\\cr]**\\cs('..style_templates['npc_text']..')%3\\cr'
},
[148] = { -- instance queue / DI Finish Messages / Gain Key Item
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.-)([0-9]+)(.-)%(GMT%).?$',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['instance_queue']..')%2\\cr[\\cs('..style_templates['instance_queue_highlight']..')%3\\cr]\\cs('..style_templates['instance_queue']..')%4\\cr',
[3] = '^([0-9]+:[0-9]+:[0-9]+:)(.-)([0-9]+)([^0-9]+)([0-9]+)(.*)',
[4] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['instance_queue']..')%2\\cr[\\cs('..style_templates['instance_queue_highlight']..')%3\\cr]\\cs('..style_templates['instance_queue']..')%4\\cr[\\cs('..style_templates['instance_queue_highlight']..')%5\\cr]\\cs('..style_templates['instance_queue']..')%6\\cr',
[5] = '^([0-9]+:[0-9]+:[0-9]+:)(.-)([0-9]+)(.*)',
[6] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['instance_queue']..')%2\\cr[\\cs('..style_templates['instance_queue_highlight']..')%3\\cr]\\cs('..style_templates['instance_queue']..')%4\\cr',
[7] = '^([0-9]+:[0-9]+:[0-9]+:)(.-) key item:(.*)',
[8] = '\\cs('..style_templates['timestamp']..')%1\\cr%2 key item:\\cs('..style_templates['addon_log_header']..')%3\\cr',
[9] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[10] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['instance_queue']..')%2\\cr',
[11] = 'Obtained:(.+%.)',
[12] = 'Obtained:\\cs(0,255,0)%1\\cr',
},
[150] = { -- npc chat
[1] = '^([0-9]+:[0-9]+:[0-9]+:)([^:]+) :(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr**[\\cs('..style_templates['npc_name']..')%2\\cr]**\\cs('..style_templates['npc_text']..')%3\\cr'
},
[160] = { -- /checkparam
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '^(.+[0-9]+:[0-9]+:[0-9]+:[^%[]+)%[([^%]]+)%] (.+)',
[4] = '%1[\\cs('..style_templates['checkparam']..')%2\\cr] = %3',
},
[161] = { -- instance queue
-- [1] = '^([0-9]+:[0-9]+:[0-9]+:)(.-)([0-9]+)(.*)',
-- [2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['instance_queue']..')%2\\cr[\\cs('..style_templates['instance_queue_highlight']..')%3\\cr]\\cs('..style_templates['instance_queue']..')%4\\cr',
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['instance_queue']..')%2\\cr',
[3] = ' ([0-9]+) ',
[4] = '\\cr [\\cs('..style_templates['instance_queue_highlight']..')%1\\cr] \\cs('..style_templates['instance_queue']..')',
[5] = '%(([A-Z]+-[0-9]+)%)',
[6] = '\\cr(\\cs('..style_templates['instance_queue_highlight']..')%1\\cr)\\cs('..style_templates['instance_queue']..')',
[7] = '!',
[8] = '! ',
},
[190] = { -- npc chat
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['npc_text']..')%2\\cr'
},
[191] = { --buff wear
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*) is no longer afflicted with (.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr[\\cs('..style_templates['battle_name_2']..')%2\\cr] is no longer afflicted with \\cs('..style_templates['battle_name_2']..')%3\\cr',
[3] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[4] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[5] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)('..windower.ffxi.get_player().name..'\'?s?)%]? (.+)',
[6] = '%1[\\cs('..style_templates['battle_name_1']..')%2\\cr] %3',
[7] = '^(.+[0-9]+:[0-9]+:[0-9]+.+%[)([A-Za-z0-9%s]+)(%].*)',
[8] = '%1\\cs('..style_templates['battle_name_2']..')%2\\cr%3',
[9] = '^(.+[0-9]+:[0-9]+:[0-9]+:[^A-Z]+)([A-Za-z%s]+):? ([0-9]+) / ([A-Za-z%s]+):? ([0-9]+)',
[10] = '%1[\\cs('..style_templates['checkparam']..')%2\\cr] = %3 [\\cs('..style_templates['checkparam']..')%4\\cr] = %5',
[11] = '^(.+[0-9]+:[0-9]+:[0-9]+:[^A-Z]+)([A-Za-z%s]+):? ([0-9]+)',
[12] = '%1[\\cs('..style_templates['checkparam']..')%2\\cr] = %3',
},
[206] = { -- echo
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['echo_text']..')%2\\cr',
},
[207] = { -- Addon
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(%a+):(.*)', --Addon log message
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr[\\cs('..style_templates['addon_log_header']..')%2\\cr]\\cs('..style_templates['addon_log']..')%3\\cr',
},
[208] = { -- /checked
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['checked']..')%2\\cr',
},
[210] = { -- Trust Chat
[1] = '^([0-9]+:[0-9]+:[0-9]+:)%(([^%)]+)%)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr(\\cs('..style_templates['trust_chat_highlight']..')%2\\cr)\\cs('..style_templates['trust_chat']..')%3\\cr',
},
[212] = { -- Unity
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs('..style_templates['unity_chat']..')%2\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['unity_chat']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['unity_chat']..')',
},
[213] = {
[1] = '^([0-9]+:[0-9]+:[0-9]+)[^<]+<([^>]+)>(.*)',
[2] = '\\cs('..style_templates['linkshell2_time']..')%1\\cr<\\cs('..style_templates['linkshell2_name']..')%2\\cr>\\cs('..style_templates['linkshell2_text']..')%3\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['linkshell2_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['linkshell2_text']..')',
},
[214] = {
[1] = '^([0-9]+:[0-9]+:[0-9]+)[^<]+<([^>]+)>(.*)',
[2] = '\\cs('..style_templates['linkshell2_time']..')%1\\cr<\\cs('..style_templates['linkshell2_name']..')%2\\cr>\\cs('..style_templates['linkshell2_text']..')%3\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['linkshell2_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['linkshell2_text']..')',
},
[221] = { -- outgoing assist channel
[1] = '^([0-9]+:[0-9]+:[0-9]+):([^%:]+)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr:\\cs('..style_templates['party_name']..')%2\\cr\\cs('..style_templates['party_text']..')%3\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['party_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['party_text']..')',
},
[222] = { -- incoming assist channel
[1] = '^([0-9]+:[0-9]+:[0-9]+):([^%:]+)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr:\\cs('..style_templates['party_name']..')%2\\cr\\cs('..style_templates['party_text']..')%3\\cr',
[3] = '{(\n?):',
[4] = '%1\\cs(0,255,0){\\cr\\cs('..style_templates['party_text']..')',
[5] = ':(\n?)}',
[6] = '\\cr\\cs(255,0,0)}\\cr%1\\cs('..style_templates['party_text']..')',
},
['default'] = { --failsafe's if no id checks out it'll try to use these.
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(%a+):(.*)', --Addon log message
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr[\\cs('..style_templates['addon_log_header']..')%2\\cr]\\cs('..style_templates['addon_log']..')%3\\cr',
[3] = '^([0-9]+:[0-9]+:[0-9]+)(.*)',
[4] = '\\cs('..style_templates['timestamp']..')%1\\cr\\cs(255,250,250)%2\\cr',
},
['battle'] = { -- Initial Battle Filters, these shouldn't trigger, have most ID's mapped now.
[1] = '^([0-9]+:[0-9]+:[0-9]+:)(.*)',
[2] = '\\cs('..style_templates['timestamp']..')%1\\cr%2',
[3] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)('..windower.ffxi.get_player().name..'\'?s?)%]?(.+)',
[4] = '%1[\\cs(0,255,255)%2\\cr] %3',
[5] = '^(.+[0-9]+:[0-9]+:[0-9]+.+)('..windower.ffxi.get_player().name..'\'?s?.-)([0-9]+)(.*)',
[6] = '%1%2\\cr\\cs(255,0,0)%3\\cr%4',
[7] = '(.*)%[%[(.*)',
[8] = '%1[%2',
[9] = '(.*)'..string.char(129,168)..'(.*)',
[10] = '%1->\\cs(240,230,140) %2\\cr',
[11] = '(.*)'..string.char(129,170)..'(.*)',
[12] = '%1->%2',
[13] = '(.*)'..string.char(0x1E,0x01)..'(.*)',
[14] = '%1 %2',
[15] = '([^>]+)>.+('..windower.ffxi.get_player().name..')',
[16] = '%1> \\cs(0,255,255)%2\\cr'
}
}