CharacterCreator
Client only. Opens the game's character stage, with a figure dressed in the chosen look and a panel of choices. It does not change the player's body or send anything. characterCreatorClosed(appearance, reason) gives your script the accepted look, { gender, body, head, hair, beard }, and null unless accepted. The reason is 'accepted', 'cancelled', 'closed', 'replaced', 'unavailable' or 'interrupted'. To apply it, send it to the server and call Player.setAppearance.
characterCreator.open()
CharacterCreator.open(options)Opens the creator, replacing one already open.
characterCreator.close()
CharacterCreator.close()Closes the creator with the reason 'closed'. Returns false if it is not open.
characterCreator.isOpen()
CharacterCreator.isOpen()Whether the creator is open.