summaryrefslogtreecommitdiff
path: root/markunread.py
blob: a5df3a4115074e5437a88ec7d1fcd5b11751373c (plain)
1
2
3
4
5
6
7
8
9
10
11
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")