Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local time = os.time()
- time = textutils.formatTime(time, true)
- get = true
- while true do
- while get do
- if time == "08:00" then
- redstone.setOutput("back", true) -- if the redstone is at the back of computer etc
- elseif time == "20:00" then
- redstone.setOutput("back", false) -- if the redstone is at the back of computer etc
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment