rednet.run
From ComputerCraft Wiki
Revision as of 01:19, 24 February 2014 by Bomb Bloke (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=rednet.run |api=rednet |returns=Nothing. |addon=ComputerCraft |desc=Automatically started within a co-routine by [[computer...")
Function rednet.run | |
Automatically started within a co-routine by computers / turtles whenever they boot (regardless as to whether they have modems available or not), this function constantly waits for modem_message events to appear within the event queue and generates corresponding rednet_message events to go with them (which can then be "received" with rednet.receive(), or pulled manually with os.pullEvent()). As there need not be multiple instances of this function active, attempting to call it while it's already running (ie most any time) results in an error being thrown ("rednet is already running"). | |
Syntax | rednet.run() |
Returns | Nothing. |
Part of | ComputerCraft |
API | rednet |