weechat/trigger.conf @ bc7db8a65885

More
author Steve Losh <steve@stevelosh.com>
date Mon, 29 Mar 2021 11:34:18 -0400
parents 816a02d790f8
children 7023c500dd7a
#
# weechat -- trigger.conf
#
# WARNING: It is NOT recommended to edit this file by hand,
# especially if WeeChat is running.
#
# Use /set or similar command 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_highlight} || ${tg_msg_pv}"
beep.enabled = on
beep.hook = print
beep.post_action = none
beep.regex = ""
beep.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|quote) +nickserv +(id|identify|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+) +)|/oper +[^ ]+ +|/quote +pass +|/set +[^ ]*password[^ ]* +|/secure +(passphrase|decrypt|set +[^ ]+) +)(.*)==$1$.*+"
cmd_pass.return_code = ok
dumbass_buffer.arguments = "4000|input_text_for_buffer;4000|history_add"
dumbass_buffer.command = ""
dumbass_buffer.conditions = ""
dumbass_buffer.enabled = on
dumbass_buffer.hook = modifier
dumbass_buffer.post_action = none
dumbass_buffer.regex = "==^ +/?b (.+)==/b ${re:1}"
dumbass_buffer.return_code = ok
idiot_buffer.arguments = "4000|input_text_for_buffer;4000|history_add"
idiot_buffer.command = ""
idiot_buffer.conditions = ""
idiot_buffer.enabled = on
idiot_buffer.hook = modifier
idiot_buffer.post_action = none
idiot_buffer.regex = "==^b (.+)==/b ${re:1}"
idiot_buffer.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|register|ghost +[^ ]+|release +[^ ]+) +)(.*)==$1$.*+"
msg_auth.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=)([^ ]+)(.*)==$1$.*4$5"
server_pass.return_code = ok
uncc.arguments = "weechat_print"
uncc.command = ""
uncc.conditions = "${tg_tag_nick}"
uncc.enabled = on
uncc.hook = modifier
uncc.post_action = none
uncc.regex = "== \[cc: [^ ]+\]===="
uncc.return_code = ok