Chatty :) is a very nice script that lets you create a simple but very-good looking chat in a few minutes. Distributed under GPL and written entirely in PHP, it is highly customizable and fully open to modifications.
It requires MySQL as a backend RDBMS.
These details are provided for information only. No information here is legal advice and should not be used as such.