Created
August 2, 2016 18:39
-
-
Save mightystoosh/39b87a44087c4e05057d4a9ff1e252cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while(true) do | |
if(fs.exists("turtlegist")) then | |
print("great, found gist") | |
else | |
shell.run("pastebin get RMkd2KhU turtlegist") | |
end | |
rednet.open("back") --runs on a pocket computer | |
id, message = rednet.receive() | |
print("message from " .. id .. " message: " .. message) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment