I previously mentioned that there must be a better way to make xchat pop up a dialog box, and of course there is, the plugin!
It's so easy; though finding the text command to match is a bit obscure. Here it is
__module_name__ = "gnome-notifier-plugin" __module_version__ = "1.0" __module_description__ = "notify of channel events via gnome-notify" import xchat import os def channel_message(word, word_eol, userdata): err = os.system("/usr/bin/gnome-notify " + "\'<font color=\"red\">New channel message</font></br>" + "<b>"+word[0]+"</b><br>"+word[1]+"\'") if (err != 0): print("Failed to launch gnome-notify!") return xchat.EAT_NONE xchat.hook_print("Channel Msg Hilight", channel_message)
you just put that in your .xchat2 directory and next thing you know you should have screenshots like that below!