gist/irc/weechat/triggers.md
2023-03-16 19:53:28 +02:00

1.1 KiB
Raw Blame History

Table of Contents generated with DocToc

WeeChat Triggers

msgid visibility

/trigger add msgid print "" "${tg_tag_irc_msgid}" "" "/print -buffer ${buffer.full_name} [msgid: ${tg_tag_irc_msgid} ]

This adds a [msgid: <message ID> ] below all messages, which can then be entered to Ergos /msg HistServ delete.

I improved this from FiskFan1999 who had a ${channel} instead of ${buffer.full_name} which was suggested by trygveaa on #weechat at LiberaChat, after I figured out ${server}.${channel} which was improper. I also added spaces to the last part.