aboutsummaryrefslogtreecommitdiff
path: root/.weechat/trigger.conf
blob: 847f8c280b63e462907543353204f191e972c39c (plain)
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
#
# weechat -- trigger.conf
#
# WARNING: It is NOT recommended to edit this file by hand,
# especially if WeeChat is running.
#
# Use commands like /set or /fset to change settings in WeeChat.
#
# For more info, see: https://weechat.org/doc/quickstart/
#

[look]
enabled = on
monitor_strip_colors = off

[color]
flag_command = lightgreen
flag_conditions = yellow
flag_post_action = lightblue
flag_regex = lightcyan
flag_return_code = lightmagenta
regex = white
replace = cyan
trigger = green
trigger_disabled = red

[trigger]
beep.arguments = ""
beep.command = "/print -beep"
beep.conditions = "${tg_displayed} && (${tg_highlight} || ${tg_msg_pv})"
beep.enabled = on
beep.hook = print
beep.post_action = none
beep.regex = ""
beep.return_code = ok
botcolor_libera_skbot.arguments = "weechat_print"
botcolor_libera_skbot.command = ""
botcolor_libera_skbot.conditions = "${tg_tags} =~ ,nick_skbot,"
botcolor_libera_skbot.enabled = on
botcolor_libera_skbot.hook = modifier
botcolor_libera_skbot.post_action = none
botcolor_libera_skbot.regex = "/.*/${tg_prefix}\t${color:3}${tg_message_nocolor}"
botcolor_libera_skbot.return_code = ok
botcolor_rizon_internets.arguments = "weechat_print"
botcolor_rizon_internets.command = ""
botcolor_rizon_internets.conditions = "${tg_tags} =~ ,nick_internets,"
botcolor_rizon_internets.enabled = on
botcolor_rizon_internets.hook = modifier
botcolor_rizon_internets.post_action = none
botcolor_rizon_internets.regex = "/.*/${tg_prefix}\t${color:3}${tg_message_nocolor}"
botcolor_rizon_internets.return_code = ok
botcolor_rizon_quotes.arguments = "weechat_print"
botcolor_rizon_quotes.command = ""
botcolor_rizon_quotes.conditions = "${tg_tags} =~ ,nick_quotes,"
botcolor_rizon_quotes.enabled = on
botcolor_rizon_quotes.hook = modifier
botcolor_rizon_quotes.post_action = none
botcolor_rizon_quotes.regex = "/.*/${tg_prefix}\t${color:3}${tg_message_nocolor}"
botcolor_rizon_quotes.return_code = ok
botcolor_rizon_yt_info.arguments = "weechat_print"
botcolor_rizon_yt_info.command = ""
botcolor_rizon_yt_info.conditions = "${tg_tags} =~ ,nick_yt-info,"
botcolor_rizon_yt_info.enabled = on
botcolor_rizon_yt_info.hook = modifier
botcolor_rizon_yt_info.post_action = none
botcolor_rizon_yt_info.regex = "/.*/${tg_prefix}\t${color:3}${tg_message_nocolor}"
botcolor_rizon_yt_info.return_code = ok
cmd_pass.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
cmd_pass.command = ""
cmd_pass.conditions = ""
cmd_pass.enabled = on
cmd_pass.hook = modifier
cmd_pass.post_action = none
cmd_pass.regex = "==^((/(msg|m|quote) +(-server +[^ ]+ +)?nickserv +(id|identify|set +password|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|recover +[^ ]+) +)|/oper +[^ ]+ +|/quote +pass +|/set +[^ ]*password[^ ]* +|/secure +(passphrase|decrypt|set +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
cmd_pass.return_code = ok
cmd_pass_register.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
cmd_pass_register.command = ""
cmd_pass_register.conditions = ""
cmd_pass_register.enabled = on
cmd_pass_register.hook = modifier
cmd_pass_register.post_action = none
cmd_pass_register.regex = "==^(/(msg|m|quote) +nickserv +register +)([^ ]+)(.*)==${re:1}${hide:*,${re:3}}${re:4}"
cmd_pass_register.return_code = ok
msg_auth.arguments = "5000|irc_message_auth"
msg_auth.command = ""
msg_auth.conditions = ""
msg_auth.enabled = on
msg_auth.hook = modifier
msg_auth.post_action = none
msg_auth.regex = "==^(.*(id|identify|set +password|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|recover +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
msg_auth.return_code = ok
relaybot_libera_scriptkitties_gizmo.arguments = "weechat_print"
relaybot_libera_scriptkitties_gizmo.command = ""
relaybot_libera_scriptkitties_gizmo.conditions = "${tg_tag_host} == bot@darkorb.robotham.dev"
relaybot_libera_scriptkitties_gizmo.enabled = on
relaybot_libera_scriptkitties_gizmo.hook = modifier
relaybot_libera_scriptkitties_gizmo.post_action = none
relaybot_libera_scriptkitties_gizmo.regex = "/.*<([^>]+)> (.*)/${re:1}\t${re:2}/"
relaybot_libera_scriptkitties_gizmo.return_code = ok
relaybot_oftc_scriptkitties_skbot.arguments = "weechat_print"
relaybot_oftc_scriptkitties_skbot.command = ""
relaybot_oftc_scriptkitties_skbot.conditions = "${tg_tag_host} == ~skbot@2a01:4f9:c010:e20c::1"
relaybot_oftc_scriptkitties_skbot.enabled = on
relaybot_oftc_scriptkitties_skbot.hook = modifier
relaybot_oftc_scriptkitties_skbot.post_action = none
relaybot_oftc_scriptkitties_skbot.regex = "/[^\[]*\[(\w+)\] <(\W?)([^>]+)> (.*)/${color:darkgray}${re:2}${color:brown}${re:3}${color:darkgray}@${color:brown}${re:1}${color:reset}\t${re:4}/"
relaybot_oftc_scriptkitties_skbot.return_code = ok
relaybot_oftc_scriptkitties_skbot_action.arguments = "weechat_print"
relaybot_oftc_scriptkitties_skbot_action.command = ""
relaybot_oftc_scriptkitties_skbot_action.conditions = "${tg_tag_host} == ~skbot@2a01:4f9:c010:e20c::1"
relaybot_oftc_scriptkitties_skbot_action.enabled = on
relaybot_oftc_scriptkitties_skbot_action.hook = modifier
relaybot_oftc_scriptkitties_skbot_action.post_action = none
relaybot_oftc_scriptkitties_skbot_action.regex = "/[^\[]*\[(\w+)\] \* (\W?)(\S+) (.*)/*\t${color:brown}${re:3}${color:darkgray}@${color:brown}${re:1}${color:reset} ${re:4}/"
relaybot_oftc_scriptkitties_skbot_action.return_code = ok
selfcolor_msg_tyil.arguments = "weechat_print"
selfcolor_msg_tyil.command = ""
selfcolor_msg_tyil.conditions = "${tg_tags} =~ ,nick_tyil,"
selfcolor_msg_tyil.enabled = on
selfcolor_msg_tyil.hook = modifier
selfcolor_msg_tyil.post_action = none
selfcolor_msg_tyil.regex = "/.*/${tg_prefix}\t${color:7}${tg_message_nocolor}"
selfcolor_msg_tyil.return_code = ok
server_pass.arguments = "5000|input_text_display;5000|history_add"
server_pass.command = ""
server_pass.conditions = ""
server_pass.enabled = on
server_pass.hook = modifier
server_pass.post_action = none
server_pass.regex = "==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)==${re:1}${hide:*,${re:4}}${re:5}"
server_pass.return_code = ok