/trigger addreplace news_transform line "*;irc.libera.#*;nick_newsly+irc_privmsg,nick_CarlSagan+irc_privmsg,nick_Chunt+irc_privmsg,nick_Brainstorm+irc_privmsg,nick_Bridgestorm+irc_notice"
/trigger set news_transform conditions "${channel} =~ ^(##alerts|##news|##science|#securitynews)$"
/trigger set news_transform regex "/.*/${info:news_parse,site_and_sections,${tg_message_nocolor}}/my_site_and_sections /\|/ - /my_site_and_sections /.*/${if:${channel}==##alerts?${if:,${tags},=-,irc_notice,?[${color:red}NOTICE${color:reset}] ${split:2, ,keep_eol,${tg_message_nocolor}}:[${define:my_site,${info:alert_parse,site,${tg_message_nocolor}}}${color:${info:nick_color_name,${my_site}}}${my_site}${color:reset}] ${info:alert_parse,title,${tg_message_nocolor}} ${info:alert_parse,url,${tg_message_nocolor}}}:[${color:${info:nick_color_name,${my_site_and_sections}}}${my_site_and_sections}${color:reset}] ${info:news_parse,title,${tg_message_nocolor}} ${info:news_parse,url,${tg_message_nocolor}}}/message /.*//prefix"
View a_very_different_newsmon.md
View gist:368cc09ec1a39452c7930e432f76ec4c
I created this after the user ikwyl6 wanted a quick way to filter the buflist
/set buflist.look.display_conditions "${eval_cond:${plugins.var.buflist_conditions}} && ${buffer.hidden}==0"
/alias add search_buflist /set plugins.var.buflist_conditions $1-;/buflist refresh
/alias add search_bufname /search_buflist ${channel}=~$1
exemples
View weechat-znc-bar.md
Here I will show you how to create a bar very similar to the nicklist bar, but instead of showing nickname, it will show znc commands, whenever you click on a command, weechat will send a "help the_command_you_just_clicked" and insert the name of the command in the input bar, then enter any arguments required to the command and press enter.
You will need the following script
- text_item.py