I would like to ask a question: is there a way to queue event so I can use it after some loops and functions because I have a turtle that is mining and I need him to listen for rednet messages at the same time, so for example if the message is "test123" the turtle stops mining.
Computer code:
rednet.broadcast("test123")
Turtle code:
-- If I put os.pullEvent("rednet_message") here, it just stays at the spot and waits for the message. for i=1,60 do turtle.digDown() turtle.down() -- I need to check here if the message sent to turtle was test123 if it is, then stop. end
I hope you will understand what I want to accomplish here because English is not my native language .
Edited by exploder, 07 December 2013 - 08:52 AM.