Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require(component)
- local listComponents = function()
- local address = 0
- local type = 0
- for address, type in component.list() do
- print(type .. " " .. address)
- print("debug1")
- end
- print("debug2")
- end
- local listMethods = function(address)
- local address = component.get(address)
- local proxy = component.proxy(address)
- for i, v in pairs(proxy) do
- print(i .. " " .. v)
- end
- end
- local main = function()
- listComponents()
- local input = io.read()
- listmethods(input)
- end
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement