Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p
- local methodList
- if( peripheral.isPresent("right")) then
- p = peripheral.wrap("right")
- methodList = peripheral.getMethods("right")
- end
- function printList(list)
- local n = getn(list)
- local i
- for i = 0, n-1 do
- print(list[i])
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement