2 posts
Posted 06 February 2014 - 12:38 PM
The server I'm playing on has banned wireless mining turtles for some odd reason.
I have a regular mining turtle rigged up in a machine with a wireless turtle behind it.
I was wondering if there is a way to have the wireless turtle tell the mining turtle to turn on and run a program.
8543 posts
Posted 06 February 2014 - 01:13 PM
You can use the peripheral interface to turn on another computer/turtle. You can't tell it to run a specific program, but it will automatically run its startup program when it turns on.
2 posts
Posted 06 February 2014 - 05:46 PM
Alright, I have the mining turtle wrapped and running it's startup.
Now I'm trying to figure out how to send a message to the wireless turtle from my control room.
My code is horribly wrong but I'm hoping you can see what I'm trying to do.
So far I have in the control room
rednet.open("back")
rednet.broadcast("Bababooie")
My wireless turtle is
rednet.receive()
if true then
shell.run("button")
I figured it out. Thanks for you help.
34 posts
Posted 07 February 2014 - 02:56 PM
Alright, I have the mining turtle wrapped and running it's startup.
Now I'm trying to figure out how to send a message to the wireless turtle from my control room.
My code is horribly wrong but I'm hoping you can see what I'm trying to do.
So far I have in the control room
rednet.open("back")
rednet.broadcast("Bababooie")
My wireless turtle is
rednet.receive()
if true then
shell.run("button")
I figured it out. Thanks for you help.
I Just wanted to make a more advanced Code :)/> so not everyone can Let your turtle move.
-- Control Room Code
rednet.open("back")
rednet.broadcast("Bababooie")
-- Turtle
id, msg, distance = rednet.receive()
if msg == "Bababooie" then
shell.run("button")
else
rednet.send(id, "Srry your not allowed to controll my TURTLE!!!!")
shell.run("reboot")
end
cuz when i send a command or broadcast a command with text eoufouefh or anything else it will also activate you turtle when im in range …. so now it waits for the command Bababooie