personally, I plan to implement a mixture of rialtaym chat and system messages. what type of system messages to classmates:
when both online and in the chat — easily chat like in ICQ,
when someone is offline, then text and waiting for his "hour", meanwhile, leaves the notification on soap,
when both are online, but one not in the chat indicator appears somewhere in the General panel of the website.