Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sides = { "top", "bottom", "left", "right", "front", "back" }
- for i = 1, #sides do
- if peripheral.isPresent(sides[i]) then
- print("A "..peripheral.getType(sides[i]).." is on the "..sides[i])
- end
- end
Add Comment
Please, Sign In to add comment