Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function main()
- term.clear()
- x,y = term.getSize()
- term.setCursorPosition(1,1)
- term.setCursorBlink(true)
- print("Welcome to turtlemine!")
- end
- function Input()
- while true do
- print("Mine > ")
- x = read()
- print(x)
- if(string.lower(x)=="exit") then
- break
- else
- rednet.broadcast(x)
- end
- end
- end
- main()
Advertisement
Add Comment
Please, Sign In to add comment