]> git.r.bdr.sh - rbdr/dotfiles/blame - weechat/trigger.conf
Update readme to be more accurate
[rbdr/dotfiles] / weechat / trigger.conf
CommitLineData
483da16c
BB
1#
2# weechat -- trigger.conf
3#
4# WARNING: It is NOT recommended to edit this file by hand,
5# especially if WeeChat is running.
6#
7# Use /set or similar command to change settings in WeeChat.
8#
9# For more info, see: https://weechat.org/doc/quickstart
10#
11
12[look]
13enabled = on
14monitor_strip_colors = off
15
16[color]
17flag_command = lightgreen
18flag_conditions = yellow
19flag_post_action = lightblue
20flag_regex = lightcyan
21flag_return_code = lightmagenta
22regex = white
23replace = cyan
24trigger = green
25trigger_disabled = red
26
27[trigger]
28beep.arguments = ""
29beep.command = "/print -beep"
30beep.conditions = "${tg_displayed} && (${tg_highlight} || ${tg_msg_pv})"
31beep.enabled = on
32beep.hook = print
33beep.post_action = none
34beep.regex = ""
35beep.return_code = ok
36cmd_pass.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
37cmd_pass.command = ""
38cmd_pass.conditions = ""
39cmd_pass.enabled = on
40cmd_pass.hook = modifier
41cmd_pass.post_action = none
42cmd_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:+}}"
43cmd_pass.return_code = ok
44cmd_pass_register.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
45cmd_pass_register.command = ""
46cmd_pass_register.conditions = ""
47cmd_pass_register.enabled = on
48cmd_pass_register.hook = modifier
49cmd_pass_register.post_action = none
50cmd_pass_register.regex = "==^(/(msg|m|quote) +nickserv +register +)([^ ]+)(.*)==${re:1}${hide:*,${re:3}}${re:4}"
51cmd_pass_register.return_code = ok
52msg_auth.arguments = "5000|irc_message_auth"
53msg_auth.command = ""
54msg_auth.conditions = ""
55msg_auth.enabled = on
56msg_auth.hook = modifier
57msg_auth.post_action = none
58msg_auth.regex = "==^(.*(id|identify|set +password|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|recover +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
59msg_auth.return_code = ok
60server_pass.arguments = "5000|input_text_display;5000|history_add"
61server_pass.command = ""
62server_pass.conditions = ""
63server_pass.enabled = on
64server_pass.hook = modifier
65server_pass.post_action = none
66server_pass.regex = "==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)==${re:1}${hide:*,${re:4}}${re:5}"
67server_pass.return_code = ok