-
-
Save Fingercomp/8e45f0d512c99f08fabbb87625b72a40 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function topic_event(args) | |
if args[3] == "#cc.ru-server1" then | |
return hexchat.EAT_HEXCHAT | |
end | |
end | |
hexchat.hook_print("Topic Change", topic_event) | |
hexchat.register("filtertopic", "1.0.0", "Ignores topic changes in #cc.ru-server1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hexchat | |
__module_name__ = "filtertopic" | |
__module_version__ = "1.0.0" | |
__module_description__ = "Ignores topic changes in #cc.ru-server1" | |
def topic_event(word, word_eol, userdata): | |
if word_eol[2] == "#cc.ru-server1": | |
return hexchat.EAT_HEXCHAT | |
hexchat.hook_print("Topic Change", topic_event) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment