Difference between revisions of "Rednet message (event)"
From ComputerCraft Wiki
(Added code examples) |
TheVarmari (Talk | contribs) (Removed NeedsWork, examples have been added earlier) |
||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
{{Event | {{Event | ||
|name=rednet_message | |name=rednet_message | ||
Revision as of 02:21, 12 May 2013
| Fired when any Rednet message arrives through an open modem. | |
| Returned Object 1 | The computer ID of the sender (see os.getComputerID()). |
| Returned Object 2 | The message as a string. If message was previously a table see textutils.unserialize |
| Returned Object 3 | The distance between the modems. |