SHOW:
|
|
- or go back to the newest paste.
| 1 | -- Chat Turtle Program for chatting | |
| 2 | m = peripheral.wrap("right")
| |
| 3 | while true do | |
| 4 | term.clear() | |
| 5 | term.setCursorPos(1,1) | |
| 6 | print( "What would you like your" ) | |
| 7 | term.setCursorPos(1,2) | |
| 8 | print( "turtle to say?" ) | |
| 9 | term.setCursorPos(1,3) | |
| 10 | print( "Hold CTRL+T to End Program." ) | |
| 11 | chat = io.read() | |
| 12 | m.say(chat) | |
| 13 | end |