Anonymous
public python v1 · immutabledef redirect_notice(word, word_eol, userdata): if (xchat.get_prefs("tab_notices")): netw = xchat.get_info('network') channels = xchat.get_list("channels") for c in channels: if (c.type == 3 and c.network == netw): if (c.channel == word[0]): c.context.emit_print("Notice", word[0], word_eol[1]) return xchat.EAT_ALL