Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function main()
- i = 0
- m = peripheral.wrap("right")
- while true do
- if i % 10 == 0 then
- print("L: "..m.getLevels())
- i = 0
- end
- m.collect()
- sleep(5)
- i = i + 1
- end
- end
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement