Sparkybearbomb

Peripheral list

Sep 7th, 2016
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.16 KB | None | 0 0
  1. local periList = peripheral.getNames()
  2.  
  3. for i = 1, #periList do
  4.     print("I have a "..peripheral.getType(periList[i]).." attached as \""..periList[i].."\".")
  5. end
Add Comment
Please, Sign In to add comment