iteration
This commit is contained in:
		@ -1,3 +1,12 @@
 | 
			
		||||
 | 
			
		||||
local bin_path = "/bin/"
 | 
			
		||||
shell.setPath(shell.path() .. ":" .. bin_path)
 | 
			
		||||
local lib_path = "/lib/"
 | 
			
		||||
 | 
			
		||||
shell.setPath(shell.path() .. ":" .. bin_path)
 | 
			
		||||
 | 
			
		||||
-- Load libraries
 | 
			
		||||
for _, file in ipairs(fs.list(lib_path)) do
 | 
			
		||||
    if not fs.isDir(lib_path .. file) then
 | 
			
		||||
        os.loadAPI(lib_path .. file)
 | 
			
		||||
    end
 | 
			
		||||
end
 | 
			
		||||
		Reference in New Issue
	
	Block a user