@@ -0,0 +1,666 @@
+import hexchat%0A%0A__module_name__ = %22MyMessages%22%0A__module_author__ = %22TingPing%22%0A__module_version__ = %220%22%0A__module_description__ = %22Properly show your messages in znc playback%22%0A%0Adef message_cb(word, word_eol, userdata):%0A  if hexchat.nickcmp(word%5B0%5D, hexchat.get_info('nick')) == 0:%0A%09%09hexchat.emit_print('Your Message', word%5B0%5D, word%5B1%5D, '', '')%0A%09%09return hexchat.EAT_HEXCHAT%0A%09%09%0Adef action_cb(word, word_eol, userdata):%0A%09if hexchat.nickcmp(word%5B0%5D, hexchat.get_info('nick')) == 0:%0A%09%09hexchat.emit_print('Your Action', word%5B0%5D, word%5B1%5D, '', '')%0A%09%09return hexchat.EAT_HEXCHAT%0A%0Ahexchat.hook_print(%22Channel Message%22, message_cb)%0Ahexchat.hook_print(%22Channel Action%22, action_cb)%0A

Create mymsg.py