Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. local somePeripheral = peripheral.wrap( 'top' ) --#once again, note that I assume the peripheral is on top of the computer
  2. for i=1, #suggestions do --"#" is length of table/string.
  3. print(i .. ": " .. somePeripheral.getMetadata()[i]) --Prints, in example, 1: Hello
  4. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement