Advertisement
craftyoyo

screen

Sep 23rd, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. modem = peripheral.wrap("left")
  2. mon = peripheral.wrap("right")
  3.  
  4. while 1 do
  5. mon.setCursorPos(1,4)
  6. mon.write("bienvenue chez moi!!")
  7. mon.setCursorPos(1,8)
  8. mon.write("pour ouvrir la port il vous")
  9. mon.setCursorPos(1,9)
  10. mon.write ("faut la page web")
  11. modem.open(2)
  12. local event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message")
  13. mon.clear()
  14. mon.setCursorPos(1,1)
  15. mon.write(message)
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement