diff options
-rw-r--r-- | weechat/trigger.conf | 8 |
1 files changed, 8 insertions, 0 deletions
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 |