Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --This script will iterate all lua fiels and methods loaded in global table
- --example with ComputerCraft: http://pastebin.com/zU5001tQ
- c=io.open("apilist","w")
- function ins(at,bk)
- for k,v in pairs(at) do
- if not (k=="_G") then
- print(bk..k)
- c.writeLine(bk..k)
- if type(v)=="table" then
- ins(v,bk..k..".")
- end
- end
- end
- end
- ins(_G,"")
- c.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement