Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --print(peripheral.isPresent("top")
- info = peripheral.getNames()
- nb = 1
- table.foreach(info,function(a,b)
- print(a.." / "..b)
- nb = nb + 1
- if nb == 16 then
- print("tapez n'importe quelle touche pour continuer")
- event, p1 = os.pullEvent("key")
- nb = 0
- term.clear()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement