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

turtles passing arguments

Started by TwitchBlade, 29 March 2014 - 01:03 AM
TwitchBlade #1
Posted 29 March 2014 - 02:03 AM
can one turtle pass arguments to another turtle as if i typed in a command heres an example of what i wanna do i want to have one turtle that places down other turtles can i have the first turtle tell the other turtle basicly whats its job is like chunk loader turtle or what have you? i would like to do this through wraping it as a peripheral not as a rednet message if possible thank you
Bomb Bloke #2
Posted 29 March 2014 - 02:28 AM
Options involve:
  • Rednet. By far the easiest.
  • Disk drives. Turtles may write data to a floppy disk that another turtle can then read.
  • Redstone. Turtles may pulse signals to each other, along the lines of eg morse code.

Treating another turtle as a peripheral is not an option, at least, not for this particular purpose. While they can be wrapped, you can do little more this way than to start/restart them.
CometWolf #3
Posted 29 March 2014 - 10:58 AM
Disk drive would be the only viable option here really, since he want's his turtle to deploy and program others. The turtle would have to be pre-configured to react to rednet or redstone.