karelvysinka

Untitled

Jan 19th, 2017
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. rednet.open("right")
  2. while true do
  3.    senderID, message, distance = rednet.receive()
  4.    if message == "exit" then
  5.       break
  6.    end
  7.    shell.run(message)
  8. end
  9. rednet.close("right")
Add Comment
Please, Sign In to add comment