wiki:computronics:chat_box
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | wiki:computronics:chat_box [2015/06/25 15:59] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Chat Box ====== | ||
| + | The Chat Box lets you send and receive chat messages. By default, the maximum distance for both is **40 blocks** away from the peripheral - can be changed in config. | ||
| + | |||
| + | ===== Recipe ===== | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | ===== API ===== | ||
| + | |||
| + | ==== Computers ==== | ||
| + | |||
| + | * say(message) - says a message within the chatbox distance. | ||
| + | * (0.3.0+) getDistance() - gets the current listening/ | ||
| + | * (0.3.0+) setDistance() - sets the current listening/ | ||
| + | |||
| + | * An event is sent every time the Chat Box receives a message. The name of the event is " | ||
| + | |||
| + | ==== Redstone ==== | ||
| + | |||
| + | * Since Computronics 0.6.0, a 4-tick redstone pulse is sent every time the Chat Box receives a message. | ||