Hello I have solved my problem as it was very simple. I had the "; in the wrong place so anyway I have attached for anyone using Jpilot a chat.txt file that you can save as a chat.php file. Just change the servers and edit the path to main.inc.php.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.