This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
meliudaj's profile picture

rednet.announce Is this function gone from the API

Started by meliudaj, 16 April 2013 - 04:07 PM
meliudaj #1
Posted 16 April 2013 - 06:07 PM
when trying this simple program:

rednet.open("back")
rednet.announce()
rednet.close("back")


I get this:

":2: attempt to call nil"

In investigation of the mods<computercraft1.5.zip<lua<rom<apis<rednet
I do not see a function announce in there. Maybe I'm understanding my investigation findings wrong, but from what I'm seeing, is rednet.announce is no longer in computer craft???

side note, this broke a program I'm working on.
So am I missing something or do I need to use rednet.broadcast now?

Thanks again.
theoriginalbit #2
Posted 16 April 2013 - 06:10 PM
yes it does seem that it no longer exists. So just use broadcast, and send an empty string

rednet.broadcast("")
make sure you don't send "PING" or it could be mistaken for a GPS request…