Difference between revisions of "Rednet.announce"
From ComputerCraft Wiki
(Corrected mapping from "Boolean" to "Boolean (type)") |
Bomb Bloke (Talk | contribs) (Deprecated.) |
||
Line 3: | Line 3: | ||
|name=rednet.announce | |name=rednet.announce | ||
|api=rednet | |api=rednet | ||
− | |returns=[[boolean_(type)|boolean]] success | + | |returns=[[boolean_(type)|boolean]] success |
|addon=ComputerCraft | |addon=ComputerCraft | ||
− | |desc=Broadcasts an empty rednet message. | + | |desc=Only available prior to ComputerCraft 1.5; for later versions, see [[rednet.broadcast|rednet.broadcast()]].<br><br> |
+ | |||
+ | Broadcasts an empty rednet message. Note that its return value indicates whether that message was ''sent'', as opposed to whether it was ''received'' or even ''receivable''. | ||
|examples= | |examples= | ||
{{Example | {{Example | ||
Line 13: | Line 15: | ||
}} | }} | ||
− | [[Category: | + | {{RednetAPIFunctions}} |
+ | |||
+ | [[Category:Deprecated_API_Functions]] |
Latest revision as of 06:33, 6 June 2014
Function rednet.announce | |
Only available prior to ComputerCraft 1.5; for later versions, see rednet.broadcast(). Broadcasts an empty rednet message. Note that its return value indicates whether that message was sent, as opposed to whether it was received or even receivable. | |
Syntax | rednet.announce() |
Returns | boolean success |
Part of | ComputerCraft |
API | rednet |
Examples
Example | |
Broadcasts an empty rednet message. | |
Code |
rednet.announce() |
Rednet API Functions |
---|
rednet.open - rednet.close - rednet.send - rednet.broadcast - rednet.receive - rednet.isOpen - rednet.host - rednet.unhost - rednet.lookup |