Remove generated files.
[tagua/yd.git] / data / highlighting / highlighting.lua
blob16d3a7d8d37ef84aa6f1b87a49cfcb56f0bfd3e8
1 on["^(%S+) tells you: "] = function()
2 sentence = line(match.to, line.to)
3 sentence.bold = true
4 nick = Text("<" .. ref[1].text .. "> ")
5 nick.color = "#104050"
7 return nick + sentence
8 end
10 on["^%S+ rating adjustment:|^No rating adjustment done."] = function()
11 -- send_text("Thank you")
13 return line
14 end
16 filter("^<12>")
18 filter("^<b1>")
20 nick = ""
22 -- Notification
23 highlight["^(?:Present company includes|Notification|Challenge|You|:).*$"] = {
24 color = Color(158,29,180)
27 -- Seek
28 on["(^%S+%s%((%d|%+)+%))( seeking .*) %(\"play (%d+)\" to respond%)"] = function()
29 ref[4].bold = true
31 return ref[1] + ref[3] + Text(" ==> ") + ref[4]
32 end
34 -- Channel tell
35 highlight["^%S+%((%d|%+)+%):.*$"] = {
36 color = Color(177,130,0)
39 -- Shouts
40 highlight["^(?:%-%->|%S+%s+(?:(?:c%-)?shouts:)).*$"] = {
41 color = Color(0,145,65)
44 -- Game
45 highlight["^(?:%{|Game|Creating).*$"] = {
46 bold = true,
47 color = Color(214,0,3)
50 -- Tells
51 -- highlight["^%S+%s+tells you.*$"] = {
52 -- color = Color(0,40,221)
53 -- }