Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("back")
- function lancementDe()
- rednet.send(256,"true","jeuxOie")
- rednet.send(263,"true","jeuxOie")
- end
- function bouton()
- term.clear()
- term.setCursorPos(6,10)
- term.blit(" Lancer les des ","ffffffffffffffff","3333333333333333")
- term.setCursorPos(6,9)
- term.blit(" ","ffffffffffffffff","3333333333333333")
- term.setCursorPos(6,11)
- term.blit(" ","ffffffffffffffff","3333333333333333")
- while true do
- a,b,c,d = os.pullEvent("mouse_click")
- if c >= 5 and c <= 22 and d >= 9 and d <= 11 then
- lancementDe()
- end
- end
- end
- bouton()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement