Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require("component")
- local drives = {}
- for addr, _ in component.list("tape_drive") do
- table.insert(drives, component.proxy(addr))
- end
- -- We will only be using one drive, if multiple, change.
- print(drives[1].getPosition())
Add Comment
Please, Sign In to add comment