Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local md = peripheral.wrap "back"
- local en = ...
- while true do
- local hi = md.getMetaByName(en).heldItem
- if hi then
- local me = hi.getMetadata()
- print(me.name, me.count, me.displayName)
- else
- print "[EMPTY]"
- end
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement