This is a working version of the xchat-otr plugin (v0.3).  I made this because everyone else seems to have dropped support for xchat-otr.  Tested successfully with XChat on Debian x86 with libotr5.