Guest User

chat

a guest
May 10th, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. m = peripheral.wrap("right")
  2. while true do
  3.   term.clear()
  4.   term.setCursorPos(1,1)
  5.   print( "What would you like your" )
  6.   term.setCursorPos(1,2)
  7.   print( "turtle to say?" )
  8.   term.setCursorPos(1,3)
  9.   print( "Hold CTRL+T to End Program." )
  10.   chat = io.read()
  11.   m.say(chat)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment