SHARE
TWEET

around.lua

neo34rd May 3rd, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function scanAroundPeripherals(validChestList)
  2.     print("Peripherals attached...")
  3.     plist = peripheral.getNames()
  4.     for i = 1, #plist do
  5.         peripheralType = peripheral.getType(plist[i])
  6.         print(" ", plist[i], " type: ", peripheralType)
  7.     end
  8. end
  9.  
  10. scanAroundPeripherals()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top