annotate weechat/trigger.conf @ 259:726728f13152

More Weechat plugins and config.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 21 Jan 2015 16:45:26 -0800
parents
children f3ea51b9b4d1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
259
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 #
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2 # trigger.conf -- weechat v1.1
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
3 #
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
4
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
5 [look]
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
6 enabled = on
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
7 monitor_strip_colors = off
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
8
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
9 [color]
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
10 flag_command = lightgreen
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
11 flag_conditions = yellow
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
12 flag_regex = lightcyan
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
13 flag_return_code = lightmagenta
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
14 regex = white
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
15 replace = cyan
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
16 trigger = green
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
17 trigger_disabled = red
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
18
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
19 [trigger]
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
20 beep.enabled = on
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
21 beep.hook = "print"
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
22 beep.arguments = ""
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
23 beep.conditions = "${tg_displayed} && (${tg_highlight} || ${tg_msg_pv})"
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
24 beep.regex = ""
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
25 beep.command = "/print -beep"
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
26 beep.return_code = "ok"
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
27 cmd_pass.enabled = on
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
28 cmd_pass.hook = "modifier"
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
29 cmd_pass.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
30 cmd_pass.conditions = ""
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
31 cmd_pass.regex = "==^((/(msg|quote) +nickserv +(id|identify|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+) +)|/oper +[^ ]+ +|/quote +pass +|/set +[^ ]*password[^ ]* +|/secure +(passphrase|decrypt|set +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
32 cmd_pass.command = ""
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
33 cmd_pass.return_code = ""
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
34 msg_auth.enabled = on
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
35 msg_auth.hook = "modifier"
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
36 msg_auth.arguments = "5000|irc_message_auth"
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
37 msg_auth.conditions = ""
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
38 msg_auth.regex = "==^(.*(id|identify|register|ghost +[^ ]+|release +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
39 msg_auth.command = ""
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
40 msg_auth.return_code = ""
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
41 server_pass.enabled = on
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
42 server_pass.hook = "modifier"
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
43 server_pass.arguments = "5000|input_text_display;5000|history_add"
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
44 server_pass.conditions = ""
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
45 server_pass.regex = "==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)==${re:1}${hide:*,${re:4}}${re:5}"
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
46 server_pass.command = ""
726728f13152 More Weechat plugins and config.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
47 server_pass.return_code = "(null)"