Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function inventoryCheck()
- if peripheral.hasType("top", "inventory") then
- return true
- else
- print("No storage above turtle :( Goodbye")
- return false
- end
- end
- function main()
- print("penits")
- os.sleep(1)
- end
- while inventoryCheck() == true do
- main()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement