Created
August 7, 2021 11:38
-
-
Save ashap5/fbf6ff18723ba3c1b35eaeff2995f3e3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
rednet.open("back") | |
while true do | |
local id, message = rednet.receive() | |
if message == "play" then | |
shell.run("rick.lua") | |
end | |
print(("Computer %d sent message %s"):format(id, message)) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment