After playing around with the existing functions etc. I made a quick plugin to dump the global table of functions and tables to a text file.
I wasn't quite sure where to post it, but seeing as it's in plugin form, I posted it here.
Function Dump Plugin Download
Function Dump Text File (03/02/14) Download
Function to dump global table:
I wasn't quite sure where to post it, but seeing as it's in plugin form, I posted it here.
Function Dump Plugin Download
Function Dump Text File (03/02/14) Download
Function to dump global table:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | function PrintTables() local content = "" local content2 = "" for k, v in pairs(_G) do if type(v) == "function" then content = content.. tostring (k).. "\n" elseif type(v) == "table" then for i, z in pairs(v) do if type(z) == "function" then if tostring (k) ~= "_G" then content2 = content2.. tostring (k).. "." .. tostring (i).. "\n" end end end end end local file = io.open ( "Plugins/FunctionDump/data.txt" , "w" ) file:write(content) file:write(content2) file:close() end |