forked from incompl/cloak
-
Notifications
You must be signed in to change notification settings - Fork 0
RoomAPI
Greg edited this page Aug 22, 2013
·
6 revisions
Add a user to this room. If they are already in a room, they are removed from it.
Remove a user from this room. They are added to the lobby if the server is configured to autoJoinLobby (default true). If the user is not in this room, nothing happens and no error occurs.
An object for you to store custom data for each room. Initially it is {} and no data is added automatically by cloak.
Age of this room in milliseconds
The same as doing user.message(name, arg) for each user in the room.
All documentation on this wiki is licensed under a Creative Commons Attribution 3.0 Unported License. To attribute simply link to this wiki.