Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setTextColor( colors.magenta )
- print ("Une demande ? faite la sur ce terminale !")
- print ("")
- term.setTextColor( colors.lime )
- print ("Votre Nom : ")
- local user = read()
- term.clear()
- term.setTextColor( colors.lightGray )
- print("Nature de votre demande: ")
- print("Construction/Loi/Métier/Habitation")
- local nat = read()
- term.clear()
- term.setTextColor( colors.lightGray )
- print("Description de votre demande: ")
- local dec = read()
- term.clear()
- term.setTextColor( colors.orange )
- print("Merci d'avoir passer commande , Elle sera traiter dans les plus bref délai")
- printer = peripheral.wrap("back")
- printer.newPage()
- printer.setCursorPos(1, 1)
- printer.write(user)
- printer.setCursorPos(1, 3)
- printer.write("Nature de la demande : ")
- printer.setCursorPos(1, 4)
- printer.write(nat)
- printer.setCursorPos(1, 5)
- printer.write("Description : ")
- printer.setCursorPos(1, 6)
- printer.write(dec)
- printer.endPage()
- os.sleep( 6 )
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement