You can change this at any time if you want to use a different handler for conversations with that player.
1.0
<other>
Variant
You can store any number of other properties on the object, for example to track previous conversations or commands, etc.
The properties only last for the current session and will not be persisted in savegames.
1.0
Example
Get conversation object for player 4
var p4conv = chat.get(4); // get player 4's conversation object
if (now < p4conv.timeout) {
// conversation still active
}
if chat.isActive(4) {
// conversation still active
}
// set a different function to handle this conversation
p4conv.fn = someNewHandlerFn;
// add custom "foo" property with value "bar".
p4conv.foo = "bar";