Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i=peripheral.wrap("bottom")
- while true do
- e, id, amount=os.pullEvent("isort_item")
- fp=fs.open("price","a")
- fp.writeLine(id)
- print("Id: "..tostring(id))
- print("Item name: ")
- fp.writeLine(io.read())
- print("Preis: ")
- fp.writeLine(io.read())
- fp.close()
- i.sort(3,1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement