Jump to content

Weechat: Difference between revisions

381 bytes added ,  3 October 2018
no edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 110: Line 110:
===add items such as time from screen on bigger screens ===
===add items such as time from screen on bigger screens ===
   /trigger addreplace resize_big_timestamp signal signal_sigwinch "${info:term_width} >=200" "" "/set weechat.look.buffer_time_format %H:%M:%S "
   /trigger addreplace resize_big_timestamp signal signal_sigwinch "${info:term_width} >=200" "" "/set weechat.look.buffer_time_format %H:%M:%S "
===Redact messages from specific users===
Helps keep better track of the conversation than if others are replying to messages you can't see. This example replaces messages from user1 and user2 with "[REDACTED]"
/trigger addreplace shut_up modifier weechat_print "${tg_tags} =~ ,irc_privmsg, && ${tg_tags} =~ ,nick_(user1|user2|user3)," "/.*/${tg_prefix}\t${color:238}[REDACTED]"


==Conditions==
==Conditions==
138

edits