here was the code i had:
local gamePath = "Jetpack/"
local apiPath = gamePath.."api/"
apis = {"log"}
os.loadAPI(apiPath.."log")
local add = log.add
log.set(gamePath.."logs","log-"..os.day(),".gl")
function loadAPIs()
str = ""
add("Loading APIs...")
for k,v in pairs(fs.list(apiPath)) do
if v ~= "log" then
os.loadAPI(apiPath..v)
table.insert(apis,v)
end
total = k
end
for k,v in pairs(apis) do
str = v..","..str
end
add("Loaded:",str)
add("Total APIs: #"..total)
end
loadAPIs()
maybe i could just make a function in each API to get the version but i was wondering if there was a way
-- ReBraLa
** Indention was better, website edited it like this
*** Have a return in the API as
local version = 1.3213123 return version











