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

Turtle return

Started by Sparky456, 22 May 2016 - 11:47 PM
Sparky456 #1
Posted 23 May 2016 - 01:47 AM
So I've ran into a problem. How would a computer to react to a message that was sent to it. For example if the computer received certain text it does a certain function.
Bomb Bloke #2
Posted 23 May 2016 - 05:15 AM
Depends a bit on whether that "computer" is doing anything else at the same time.

But in simple terms, you have that computer open a rednet side, then wait to receive messages sent by another system. Apply a loop if you want to deal with consecutive messages.
Sparky456 #3
Posted 23 May 2016 - 08:17 AM
Well its hopefully going to be putting the information on a screen which tells me if the turtle is returning or at home
Sparky456 #4
Posted 23 May 2016 - 10:33 AM
Also could someone help me understand this button API?
like how to create buttons?

http://pastebin.com/pFHeia96
Edited on 23 May 2016 - 08:54 AM