Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function marik.pLoad()
- local machines = peripheral.getNames() -- load a list of peripherals into a table
- table.sort(machines) -- so it displays in non-random manner
- return machines
- end
- local machines = marik.pLoad()
- for i=1, #machines do
- -- the rest is omitted
Advertisement
Add Comment
Please, Sign In to add comment