Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos()
- --valeur par defaut
- serveur = 5835
- --connexion rednet
- rednet.open("back")
- --authentification
- rednet.send(serveur, "command.auth", id)
- print("En attente d'authentification ...")
- while true do
- local local_id, command, send_id = rednet.receive()
- if command == "command.validauth" then
- print("Authentification validée")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement