TextChatReceiveRule
TextChatReceiveRule = (
world,sender,recipient) =>boolean
Decides whether recipient receives a chat line from sender. Each
is an entity: a player’s player entity, or the entity an NPC message
comes from. The room calls it on the world as the last step left it,
read-only, once for each other player; it writes nothing, not even to
an entity.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
sender |
Entity |
recipient |
Entity |
Returns
Section titled “Returns”boolean