Looking for help with setting up chat

i have search tutoriol for chatroom on google and i found this http://www.script-tutorials.com/?s=chat and i really like this i want to add this in my egg site ,but i dont know how to convert it in elgg plugin,if anyone of u will make it in  elgg plugin of mentoined  link it will be thanksful for me ,plz someone make it for me as welll for others too. plz plz plz plz visit this link u can found the tutoriol which i want to convert in elgg plugin here is link http://www.script-tutorials.com/?s=chat  plz plz someone help me ,i know its easy for u guys but not for me,i know there is lots of genius available ,only u can do it guys. headind of tutoriol is powerful chat system :p