Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mondes = { 121, 126, 127, 128, 129, 130, 131, 132 }
- function ecran()
- term.clear()
- term.setCursorPos(1,3)
- print(" 1 - Turtle Ced 5 - vide")
- print()
- print(" 2 - SeigneurBelial 6 - vide")
- print()
- print(" 3 - Yogogo 7 - vide")
- print()
- print(" 4 - Jango49 8 - vide")
- term.setCursorPos(15,15)
- end
- rednet.open("back")
- for k,v in pairs(mondes) do
- rednet.send(v,"false")
- end
- while true do
- ecran()
- print("Votre choix : ")
- term.setCursorPos(29,15)
- local t = tonumber(read())
- for k,v in pairs(mondes) do
- rednet.send(v,"false")
- end
- rednet.send(mondes[t],"true")
- --sleep(20)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement