Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- side="top"
- local file = fs.open("out.txt", "w")
- local methods = peripheral.getMethods(side)
- for _, method in ipairs(methods) do
- file.writeLine(method)
- end
- file.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement