Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local startID = 136
- local endID = 142
- local message = "place"
- rednet.open("back")
- while true do
- if redstone.getInput("front") then
- for id = startID, endID do
- rednet.send(id, message, "commandChannel")
- end
- while redstone.getInput("front") do
- os.sleep(0.1)
- end
- end
- os.sleep(0.1)
- end
- rednet.close("back")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement