Why not try the 123 Flash Chat server software, i think it is totally meet your requirement, it can be seamlessly integrated with almost CMSes....
try one more time
because you need reply or create threads more than 4
You can go to its homepage check
Separate names with a comma.