Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("bottom")
- local pcid = "4"
- local schutdown = "m1e"
- -- Alles was hier drunter ist nicht anfassen!!!!
- local test = 0
- local masters = "mmm"
- while true do
- local id, message = rednet.receive()
- print(message)
- print(id)
- if message == pcid and redstone.getInput("top") == true then
- redstone.setOutput("top",false)
- sleep(2)
- print("off")
- elseif message == pcid and redstone.getInput("top") == false then
- redstone.setOutput("top",true)
- sleep(2)
- print("on")
- elseif message == schutdown then
- sleep(2)
- redstone.setOutput("top", false)
- print("Schutdown")
- sleep(2)
- error()
- else
- print("error: Nicht Feur mich")
- sleep(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement