Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local side = ...
- function getMethods( side )
- meths = peripheral.getMethods( side )
- for k,v in pairs(meths) do
- print(k..":"..v)
- end
- end
- if side == nil then
- print("Method Machine:")
- print("")
- print("Enter the side that the peripheral is on, or the name of the peripheral on the network.")
- side = read()
- end
- getMethods( side )
Add Comment
Please, Sign In to add comment