Using Communication Components > Chat component |
![]() ![]() ![]() |
Chat component
This component shows a regular text chat window. It supports lurker mode. When you use this component with the SimpleConnect component, lurker mode prevents the display of the input text box and Send buttons if the user has never logged in. The lurker can see other people text-chatting. After the user logs in with a user name (through the SimpleConnect component or in the nc.connect
call, as a first parameter), the user can send text. If you also use the UserColor component, each user has an individual color assigned to his or her text.
The Chat component does not require scripting if you use it with the SimpleConnect component.
You can use this component with the UserColor component. Whenever the user chooses a new color, the global color on the server side updates and the color updates for all clients.
![]() ![]() ![]() |