Advertisement
Jebula999

Manual Control

Jun 26th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. rednet.open("back")
  2. while true do
  3.     term.clear()
  4.     term.setCursorPos(1,1)
  5.     print("Enter a command:")
  6.     command = read()
  7.    
  8.     print("")
  9.     print("")
  10.  
  11.     print("Who is it for?")
  12.     print("Quarry / Chunky / All ")
  13.     filter = read()
  14.    
  15.    
  16.     rednet.broadcast(command, filter)
  17.    
  18.     for i = 1, 6 do
  19.         term.clear()
  20.         term.setCursorPos(1,1)
  21.         print("Telling "..filter.." to "..command)
  22.         print(seconds-i.."s")
  23.         sleep(1)
  24.     end
  25. end
  26. rednet.close("back")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement