SHARE
TWEET

Untitled

a guest Jul 28th, 2015 235 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. term.clear()
  2. up = peripheral.wrap("top")
  3. term.setCursorPos(20,1)
  4. print("Direction?")
  5. d = string.lower(read())
  6. if d == "up" then
  7.   monitor = up
  8. elseif d == "down" then
  9.   monitor = down
  10. elseif d == "right" then
  11.   monitor = right
  12. elseif d == "left" then
  13.   monitor = left
  14. end
  15. term.setCursorPos(12,1)
  16. term.clear()
  17. print("What Would You Like To Say?")
  18. t = read()
  19. monitor.write(t)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top