Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- time = os.time()
- rednet.open("back")
- image = paintutils.loadImage("iphone")
- paintutils.drawImage(image,1,1)
- term.setCursorPos(5,8)
- term.write("1")
- term.setCursorPos(9,8)
- term.write("2")
- term.setCursorPos(6,4)
- term.write(time.." heure")
- term.setCursorPos(13,8)
- term.write("3")
- term.setCursorPos(5,11)
- term.write("4")
- term.setCursorPos(9,11)
- term.write("5")
- term.setCursorPos(13,11)
- term.write("6")
- term.setCursorPos(5,14)
- term.write("7")
- term.setCursorPos(9,14)
- term.write("8")
- term.setCursorPos(13,14)
- term.write("9")
- term.setCursorPos(8,17)
- term.write("0")
- while true do
- event,button ,xpos,ypos = os.pullEvent("mouse_click")
- print("x pos ="..xpos)
- print("y pos ="..ypos)
- if ((xpos>3)and (xpos<7)) and ((ypos>7) and (ypos<10)) then
- code=1
- print(code)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement