Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --place chatbox beneath computer, output should be on LEFT side
- chat = peripheral.wrap("bottom")
- --settings
- u1 = "ErolDude"
- u2 = "0"
- pass = "lel"
- while true do
- event, guy, msg = os.pullEvent("chat")
- if guy == u1 or guy == u2 and msg == pass then
- rs.setOutput("left", true)
- os.sleep(3)
- rs.setOutput("left", false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment