Advertisement
rungholt

info

Nov 30th, 2022
859
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. local function compInfo()
  2.     print(os.computerID())
  3.     print(os.computerLabel())
  4.     print(os.version())
  5. end
  6.  
  7. compInfo()
  8.  
  9. local periList = peripheral.getNames()
  10.  
  11. for i = 1, #periList do
  12.     print("a "..peripheral.getType(periList[i]).." at \""..periList[i].."\".")
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement