import hexchat __module_name__ = "Mark Unread" __module_author__ = "Luke Bratch" __module_version__ = "0.0.1" __module_description__ = "Add a Mark Unread command to the tab context menu" hexchat.command('MENU -p1 ADD "$TAB/Mark Unread" "py exec import xchat; cnc = xchat.find_context(channel=\'%s\'); cnc.command(\'gui color 2\')"') # Remove with: /MENU DEL "$TAB/Mark Unread" hexchat.prnt(__module_name__ + " version " + __module_version__ + " loaded")