I thought I would post this here incase anyone else was having the same issues with this as I was. I was trying to have all chat clear when the page was refreshed or opened instead of having the 20 last messages displayed. I wanted this because my client will be using this for a questions and answers for his live talk radio show that he does one night a week. He did not want to login and see last weeks messages, any way everything I read told me to go to index.php and change the amount in the max_msg pram. I did not have a index.php and the other php files in the same area that had pram setting did not have a pram for max_msg. So with some digging I found it in "phpfreechat/src/pfcglobalconfig.class.php" on line 285 changes the number to "0" and it works great. I hope this helps someone and saves them some time.