Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- event, param1 = os.pullEvent()
- if event == "redstone" then
- if redstone.getInput("left") == true and redstone.getInput("top") == true then
- redstone.setBundledOutput("right", colors.yellow)
- print ("Dissipating rain.")
- sleep(2)
- redstone.setBundledOutput("right", 0)
- sleep(20)
- elseif redstone.getInput("left") == false and redstone.getInput("top") == false then
- redstone.setBundledOutput("right", colors.magenta)
- print ("Seeding clouds.")
- sleep(2)
- redstone.setBundledOutput("right", 0)
- sleep(30)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment