I have an problem. I am playing FTB direwolf20 and I like to do sh*t with turtles(in this case wireless mining turtles) but I get sick of the programming of turtles by hand.
The probelem:
I get sick of programming of turtles by hand.
(and I can't program that great)
My idea:
If anybody could program an program that I can type in an computer: tunnel, enter, tunnel (how much I want). that then my 128 wireless mining turtles go tunnel. I place them by hand, refuel them by hand(there's no need for an refueling code, only the tunnel code with rednet), and take the stuff out by hand.
The solve:
This place is for the person who sends me the code.
If anybody can help me, I am then very pleased.
I am pretty almost of today online.
are there questions? ask them to me
This is what I came up with:(for the turtle)
Quote
rednet.open("right")
while true do
id,message = rednet.recieve()
if id == 1 then
if message == "tunnel" then
turtle.tunnel()
end
end
end
while true do
id,message = rednet.recieve()
if id == 1 then
if message == "tunnel" then
turtle.tunnel()
end
end
end
Edited by Koen123123123123, 22 March 2014 - 02:41 PM.