Difference between revisions of "Rednet.announce"

From ComputerCraft Wiki
Jump to: navigation, search
(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.)
m (Moved to CAT:APIFunctions)
Line 12: Line 12:
 
}}
 
}}
 
}}
 
}}
 +
 +
[[Category:API_Functions]]

Revision as of 18:36, 28 November 2012


Grid Redstone.png  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

Grid paper.png  Example
Broadcasts an empty rednet message.
Code
rednet.announce()