Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ps = left
- t = turtle
- rs = redstone
- function get()
- shell.run("pastebin","get","mKS9SxDN","cprm")
- end
- function extract()
- file = fs.open("cprm")
- file.readLine(prm[1])
- file.close()
- s = "prm[1]"
- end
- function cooldown()
- if s = "coolDown" then
- rs.SetOutput("ps",true)
- end
- function rise()
- if s = "rise" then
- rs.SetOutput("ps",false)
- end
- while true do
- get()
- extract()
- cooldown()
- rise()
- sleep(180)
- end
Advertisement
Add Comment
Please, Sign In to add comment