Advertisement
Guest User

base

a guest
Sep 20th, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.70 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1, 1)
  3. print("Loading...")
  4. rednet.open("bottom")
  5. while true do
  6.  senderID, message, dis = rednet.receive()
  7.  term.clear()
  8.  term.setCursorPos(1, 1)
  9.  print("The last known position")
  10.  print("of the mining machine")
  11.  print("was...")
  12.  sleep(2)
  13.  print()
  14.  print("       x    y   z")
  15.  print("       ",message, " 130 288")
  16.  sleep(.75)
  17.  local x
  18.  print()
  19.  print("Type 'find' to triangulate it's")
  20.  print("current location")
  21.  print()
  22.  sleep(1)
  23.  print("Type 'locate' to track")
  24.  term.write("it in real time: ")
  25.  x = read()
  26.    if x == "find" then
  27.    print("Triangulating...")
  28.    elseif x == "locate" then
  29.    print("locating...")
  30.    shell.run("base2")
  31.    else end
  32. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement