Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c = peripheral.wrap("top")
- redstone.setOutput("top", true)
- redstone.setOutput("left", true)
- redstone.setOutput("right", true)
- while true do
- e,player,message = os.pullEvent("chat")
- print ( player .. ":" .. message )
- x = player .. ":" .. message
- if player == "Mr_XXXL" then
- if message == "peter spawner 1 aus" then
- redstone.setOutput("top", true)
- end
- if message == "peter spawner 1 an" then
- redstone.setOutput("top", false)
- end
- if message == "peter spawner 2 aus" then
- redstone.setOutput("left", true)
- end
- if message == "peter spawner 2 an" then
- redstone.setOutput("left", false)
- end
- if message == "peter spawner 3 aus" then
- redstone.setOutput("right", true)
- end
- if message == "peter spawner 3 an" then
- redstone.setOutput("right", false)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement