Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- side = "right";
- --just some stuff to make it more effective
- rs.setOutput("bottom", true)
- repeat
- p = peripheral.wrap(side)
- evt, cmd = os.pullEvent();
- if evt == "chat_command" then
- --Do the commands
- ----Example command
- if cmd == "LMI" then--Shorter version of (Let Me In)
- rs.setOutput("bottom",false)
- sleep(10)
- rs.setOutput("bottom",true)
- end
- ----End of example command
- --End of the commands
- end
- until(Exit == true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement