DrFair

Speaker Computer

Aug 11th, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. p = peripheral.wrap("right")
  2. txt = "This is a test"
  3.  
  4. while true do
  5. os.sleep(0.1)
  6. if rs.getInput("back") then
  7. p.speak(txt,0)
  8. break
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment