Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Get a list of peripherals attached to the turtle
- local peripherals = turtle.getPeripheralList()
- -- Print the list of peripherals
- print("Peripherals:")
- for _, peripheral in pairs(peripherals) do
- print(" " .. peripheral)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement