I got it working, thanks. In xchat, I had 'get my IP address from the server' checked, so I unchecked that and it worked fine. Everytime I /ctcp bot chat - when it connects to me, everything is..messed up. It's like it's in a different charset, and the variables in the welcome message don't show up ...