Here’s a list of a few live chat scripts. They are all open source and free:
Olark allows you to monitor and chat with customers as they browser your website.
LiveZilla is a Live Help, Char and Support script, that also allows you to monitor your visitors in real time.