Python script for X-Chat and HexChat IRC clients