Posted 25 March 2013 - 03:45 AM
Hi there !
I've come across a "small" problem… i wanted to do a frame motor moved MiningWell Quarry like Direwolf did in his lets play.
But i dont wanna copy his computercraft programs plus i want to have some extra in it he dont has.
So here is the problem. 8 Turtles place the Mining Well's infront of them. The Mining Wells eject their mined ores and stones in the Turtles,
and the Turtles empty their Inventory in an Enderchest beneath them. Now when the turtles are finished with empty their inventory
i'd like to send a rednet message from every turtle, to the main computer, that they have finished their process.
But i cant realize how to do this.
I suggest that when i go with
rednet.open("side")
local senderId, message, distance=rednet.receive()
and then something like
if (turtle01 says "finish") and (turtle02 says "finish") and (turtle03 says "finish") then
rs.setOutput
end
i think i unwillingly override the messeges from every turtle, am i right ?
After hours of testing… i need to get a hind from the pro's how to receive multiple messages and binds them together in an "if, and" condition.
Please help me :(/>
PS: Dont look at my spelling … im awake for so long trying to get that program working … im exhausted
I've come across a "small" problem… i wanted to do a frame motor moved MiningWell Quarry like Direwolf did in his lets play.
But i dont wanna copy his computercraft programs plus i want to have some extra in it he dont has.
So here is the problem. 8 Turtles place the Mining Well's infront of them. The Mining Wells eject their mined ores and stones in the Turtles,
and the Turtles empty their Inventory in an Enderchest beneath them. Now when the turtles are finished with empty their inventory
i'd like to send a rednet message from every turtle, to the main computer, that they have finished their process.
But i cant realize how to do this.
I suggest that when i go with
rednet.open("side")
local senderId, message, distance=rednet.receive()
and then something like
if (turtle01 says "finish") and (turtle02 says "finish") and (turtle03 says "finish") then
rs.setOutput
end
i think i unwillingly override the messeges from every turtle, am i right ?
After hours of testing… i need to get a hind from the pro's how to receive multiple messages and binds them together in an "if, and" condition.
Please help me :(/>
PS: Dont look at my spelling … im awake for so long trying to get that program working … im exhausted