Difference between revisions of "Rednet.announce"
From ComputerCraft Wiki
m (moved Rednet.announce() to Rednet.announce) |
(Changed return type to a boolean success from nil, as the function returns false like rednet.send() if there is no modem active, and true if there is.) |
||
Line 3: | Line 3: | ||
|name=rednet.announce | |name=rednet.announce | ||
|api=rednet | |api=rednet | ||
+ | |returns=[[boolean]] success code. True if a message has been sent, false if not. "true" does not guarantee, that any computer was reachable! | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Broadcasts an empty rednet message. | |desc=Broadcasts an empty rednet message. |
Revision as of 16:02, 10 November 2012
Function rednet.announce | |
Broadcasts an empty rednet message. | |
Syntax | rednet.announce() |
Returns | boolean success code. True if a message has been sent, false if not. "true" does not guarantee, that any computer was reachable! |
Part of | ComputerCraft |
API | rednet |
Examples
Example | |
Broadcasts an empty rednet message. | |
Code |
rednet.announce() |