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

Receiving advice needed Help!

Started by hunter879, 18 November 2012 - 09:19 AM
hunter879 #1
Posted 18 November 2012 - 10:19 AM
I'm trying to make a simple emergency broadcast system, but I need help with the looping problem. I just started.
remiX #2
Posted 18 November 2012 - 11:07 AM
Do this:


while true do
    e, sID, msg, dist = os.pullEvent("rednet_message")
    -- sID is the ID that the rednet message is from
    -- msg is the message that you sent
    -- dist is the distance between the PC's
end