Random Programming Projects in C, Delphi, Lazarus and TCL

Tcl Plugin for XChat

The Tcl Plugin adds the complete Tcl scripting language to the XChat IRC client.


  • Uses popular TCL scripting language.
  • Adds many new XChat specific commands to the Tcl language for handling of events, user commands, timers, etc.
  • It's actually documented! (Hey, what a concept!)
  • Works with XChat.
  • Open source (GPL)

For Windows users, TCL 8.5.17 can be downloaded here.

Contrary to the opinion of some, this project has NOT been abandoned.  I consider it to be feature complete.  If you have suggestions for new features, feel free to contact me.

Attention HexChat Users

A long while back the people who develop HexChat contacted me to let me know that they were dropping my Tcl language plugin entirely due to their inability to get it working under Windows.  I don't use Windows so I couldn't be of much help.  I have no recollection as to what the issue was but by looking at their commentary on the subject, they didn't seem too interested in trying and it looks like they gave up part way through because it would no longer compile under Linux either.

Without any support from them, I took a few seconds to fix the code so it once again compiles on Linux. You can download it here: HexChat TCL Plugin for Linux.

As long as you have TCL installed, it should compile with:

     cc tclplugin.c -O2 -Wall -fPIC -shared -ltcl -o

When done, move it to your HexChat /addons directory.

The Tcl Plugin is included with XChat.

Tcl Plugin Documentation
Tcl Language Documentation
Tcl Tutorial
TCLWISE: An introduction to the Tcl programming language (e-book)