From 1d758cff21ab9476d98b843896dc41aec987d1ff Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sat, 10 Feb 2024 11:22:34 +0000 Subject: Initial commit. --- markunread.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 markunread.py (limited to 'markunread.py') diff --git a/markunread.py b/markunread.py new file mode 100644 index 0000000..a5df3a4 --- /dev/null +++ b/markunread.py @@ -0,0 +1,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") -- cgit v1.2.3