Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for var, x in pairs (rs.getSides()) do
- if peripheral.isPresent(x) then
- sType = peripheral.getType(x)
- tMethods = peripheral.getMethods(x)
- break
- end
- end
- -- print("The peripheral type is "..sType)
- print("The periph has the following methods")
- for x=1, #tMethods do
- print(tMethods[x])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement