-
Notifications
You must be signed in to change notification settings - Fork 30
Chatbox
austinv11 edited this page Dec 12, 2014
·
3 revisions
The chatbox is a peripheral which allows for Computers to interface with Minecraft's chat system. It can allow you to send, receive and broadcast chat messages. It can also be crafted with a turtle to make a Chatty Turtle.
| Event | Parameter 1 | Parameter 2 | Parameter 3 | Parameter 4 | Description |
|---|---|---|---|---|---|
| chat | "chat" | string playerName | string message | This event is fired when someone speaks in chat | |
| death | "death" | string player | string killer | string damageType | This event is fired when someone dies |
| Function | Returns | Description |
|---|---|---|
| say(string text, [number range, [boolean infVertical,[string label]]]) | boolean result | Sends a message to chat Note: The label can only be applied if enabled in the config |
| tell(string playerName, string text, [number range, [boolean infVertical,[string label]]]) | boolean result | Sends a message to the specified player Note: The label can only be applied if enabled in the config |