Advertisement
osmarks

TapeEraser

Aug 30th, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. local tape = peripheral.find "tape_drive"
  2.  
  3. if not tape or not tape.isReady() then error "u haz no good tapez???" end
  4.  
  5. tape.seek(-tape.getSize())
  6. tape.write(("\0"):rep(tape.getSize()))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement