You can write Plugins in C/C++ or scripts in many languages. XChat tends to
come with Perl, Python and TCL plugins available but this depends on where you
downloaded XChat from or which Linux distribution it came with. The other
languages may require installation of a plugin.