Guest User

tester final version

a guest
Dec 30th, 2015
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. prox = peripheral.wrap("top")
  2. mon = peripheral.wrap("left")
  3. mon.setTextScale(0.5)
  4. mon.setTextScale(1)
  5.  
  6. while true do
  7. success, players = pcall( prox.getPlayerByName, "jetski67890" )
  8. term.clear()
  9. term.setCursorPos(1,1)
  10.  
  11. if success and type(players) == "table" then
  12. print("detected this stuff:")
  13. for a,b in pairs(players) do
  14. print(tostring(a) .. ": " .. tostring(b))
  15. end
  16. else print("detection failure") end
  17. sleep(0.1)
  18.  
  19. end
Advertisement
Add Comment
Please, Sign In to add comment