Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- up = peripheral.wrap("top")
- term.setCursorPos(20,1)
- print("Direction?")
- d = string.lower(read())
- if d == "up" then
- monitor = up
- elseif d == "down" then
- monitor = down
- elseif d == "right" then
- monitor = right
- elseif d == "left" then
- monitor = left
- end
- term.setCursorPos(12,1)
- term.clear()
- print("What Would You Like To Say?")
- t = read()
- monitor.write(t)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement