From efd826e0f88e94662c0369c3b7357dddfe41983c Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 20 Dec 2016 19:20:58 +0100 Subject: weechat: Add userlabel trigger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- weechat/trigger.conf | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'weechat') diff --git a/weechat/trigger.conf b/weechat/trigger.conf index e82ff4e..661293b 100644 --- a/weechat/trigger.conf +++ b/weechat/trigger.conf @@ -57,3 +57,11 @@ server_pass.hook = modifier server_pass.post_action = none server_pass.regex = "==^(/(server|connect) .*-(sasl_)?password=)(\S+)(.*)==$1$.*4$5" server_pass.return_code = ok +userlabel.arguments = "weechat_print" +userlabel.command = "" +userlabel.conditions = "" +userlabel.enabled = on +userlabel.hook = modifier +userlabel.post_action = none +userlabel.regex = "/^[^@]+@(.+)$/${re:1}/tg_tag_host /^.+$/${re:0} ${color:darkgray}${plugins.var.trigger.userlabel.${tg_tag_host}}" +userlabel.return_code = ok -- cgit v1.2.3-70-g09d2