Advertisement
peregrin5

turtleSpleef

Sep 21st, 2019
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. rednet.open("right")
  2.  
  3. while true do
  4.   local sender, message, protocol = rednet.receive()
  5.     width = 27
  6.     depth = 27
  7.   if (message == "rebuild") then
  8.     print("Rebuilding Arena of size ",width," by ",depth,".")
  9.     shell.run("spleefArena", width, depth)
  10.   end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement