szymski

Untitled

Jan 23rd, 2017
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. local args = { ... }
  2.  
  3. local label = args[1]
  4.  
  5. if not label then
  6. print("Usage: tape-label label")
  7. return
  8. end
  9.  
  10. tape = peripheral.wrap("left")
  11.  
  12. tape.setLabel(label)
Advertisement
Add Comment
Please, Sign In to add comment