Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local drive = peripheral.wrap("bottom")
- local item = drive.getStackInSlot(1)
- if item then
- data = item.id
- string.gsub(data,":(.*)", function(a) print(a) end )
- else
- print("Empty")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement