The Starlink UI kit comes with a fully integrated multiplayer chat example using NGUI. Aside from that, it's just a matter of instead of calling stuff like "add this text line to chat", do an RFC instead: tno.Send("AddStuffToChat", ...) -- and inside that function do the actual "add this text line to chat".