Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Main()
- local ComputerName = "computer_455"
- local Computer = peripheral.wrap(ComputerName)
- local left = peripheral.wrap("left")
- if (Computer == nil) then
- print("Computer is null")
- else
- local methods1 = peripheral.getMethods(ComputerName)
- for key, method in pairs(methods1) do
- print("(PC) Method: '" .. method .. "'")
- end
- end
- end
- Main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement