Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local bAll = false
- local tableArgs = { ... }
- if #tableArgs > 0 and tableArgs[1] == "all" then
- bAll = false
- end
- tableAllPrograms = shell.programs(bAll)
- tableShownPrograms = {}
- for i = 1, #tableAllPrograms do
- if tableAllPrograms[i] ~= "override" then
- table.insert(tableShownPrograms, tableAllPrograms[i])
- end
- end
- textutils.pagedTabulate(tableShownPrograms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement