Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = peripheral.wrap("top")
- --while (true) do
- local t = p.getNamesRemote()
- for sens = 1, #t do
- if string.find(string.lower(t[sens]), "sensor") then
- data = p.callRemote(t[sens], "getPlayerNames")
- for names = 1, #data do
- print(t[sens]..": "..data[names])
- end
- end
- end
- --end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement