/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"