hexchat/hexchat — pull request #867 by Farow (2013-12-28 15:53:29+00:00)
Title: Allow plug-ins hook messages sent to the server

Example script: https://dl.dropboxusercontent.com/s/hofhfgku0ay3ye6/hook_client.pl