Skip to content

Instantly share code, notes, and snippets.

Created November 26, 2014 22:18
Show Gist options
  • Save anonymous/9fc27b17aa213275ad9b to your computer and use it in GitHub Desktop.
Save anonymous/9fc27b17aa213275ad9b to your computer and use it in GitHub Desktop.
Adding the following triggers to WeeChat will display all messages of
the bots Sequell and Cheibriados and the queries directed at them in a
dark gray color. In combination with the muting of the announcement bots
this should make the ##crawl channel much more readable. This does not
affect the output of those bots in other channels or in private chat.
Example screenshot: https://i.imgur.com/BJfb8ke.png
Trigger commands:
/trigger add sequell_query_gray modifier "2000|weechat_print" "${tg_message} =~ ^(\!|%?\?\?|\&) && ${channel} == ##crawl" "/(.*)/${tg_prefix}\t${color:darkgray}${tg_message}" ""
/trigger add sequell_gray modifier "2000|weechat_print" "${tg_tag_nick} == Sequell && ${channel} == ##crawl" "/(.*)/${tg_prefix}\t${color:darkgray}${tg_message}" ""
/trigger add chei_gray modifier "2000|weechat_print" "${tg_tag_nick} == Cheibriados && ${channel} == ##crawl" "/(.*)/${tg_prefix}\t${color:darkgray}${tg_message_nocolor}" ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment