Advertisement
ecco7777

CC Player Detector

May 6th, 2015
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. p=peripheral.wrap("top")
  2. while true do
  3. user, player = os.pullEvent("player")
  4. print(player)
  5. if player=="ecco7777" or player=="baldauf36" then
  6. rs.setOutput("right",true)
  7. sleep(5)
  8. rs.setOutput("right",false)
  9. sleep(0.2)
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement