Skip to content
Greg edited this page Sep 2, 2013 · 7 revisions

user.message(name, arg)

Send a message to this user. The message handler on the client is called if there is one for this message name.

user.connected()

Returns true if the user is currently connected, otherwise false

user.enterRoom(room)

Enter a room

user.leaveRoom()

User leaves the room they're currently in, if they are in one. They return to the lobby if the server is configured to autoJoinLobby (default is true)

Clone this wiki locally