Last active
January 25, 2020 17:31
-
-
Save adabo/0b57ad0b81c9ecdc723f117d2280bbd7 to your computer and use it in GitHub Desktop.
Read message
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__ = "Read Messages" | |
__module_author__ = "adabo" | |
__module_version__ = "0.1" | |
__module_descritption = "Reads messages and shows them" | |
def readMessage(word, word_eol, userdata, attribs): | |
print(repr(word)) | |
print(repr(word_eol)) | |
print(repr(userdata)) | |
print(repr(attribs)) | |
return hexchat.EAT_NONE | |
hexchat.hook_print_attrs('Channel Message', readMessage) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment