Advertisement
tike

ChunkLoaderTest

Sep 29th, 2015
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. local p
  2. local methodList
  3.  
  4. if( peripheral.isPresent("right")) then
  5.  
  6. p = peripheral.wrap("right")
  7. methodList = peripheral.getMethods("right")
  8.  
  9. end
  10.  
  11. function printList(list)
  12. local n = getn(list)
  13. local i
  14.  
  15. for i = 0, n-1 do
  16. print(list[i])
  17. end
  18.  
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement