Advertisement
legolego19

Untitled

Jul 22nd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. term.clear()
  2. term.setTextColor( colors.magenta )
  3. print ("Une demande ? faite la sur ce terminale !")
  4. print ("")
  5. term.setTextColor( colors.lime )
  6. print ("Votre Nom : ")
  7. local user = read()
  8. term.clear()
  9. term.setTextColor( colors.lightGray )
  10. print("Nature de votre demande: ")
  11. print("Construction/Loi/Métier/Habitation")
  12. local nat = read()
  13. term.clear()
  14. term.setTextColor( colors.lightGray )
  15. print("Description de votre demande: ")
  16. local dec = read()
  17. term.clear()
  18. term.setTextColor( colors.orange )
  19. print("Merci d'avoir passer commande , Elle sera traiter dans les plus bref délai")
  20. printer = peripheral.wrap("back")
  21. printer.newPage()
  22. printer.setCursorPos(1, 1)
  23. printer.write(user)
  24. printer.setCursorPos(1, 3)
  25. printer.write("Nature de la demande : ")
  26. printer.setCursorPos(1, 4)
  27. printer.write(nat)
  28. printer.setCursorPos(1, 5)
  29. printer.write("Description : ")
  30. printer.setCursorPos(1, 6)
  31. printer.write(dec)
  32. printer.endPage()
  33. os.sleep( 6 )
  34. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement