Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.openTab("showcase")
- oldpullEvent = os.pullEvent
- os.pullEvent = os.pullEventRaw
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor(colors.yellow)
- print("Shopkeeper 2000, programmed by Terminator_NL")
- while true do
- term.setTextColor(colors.white)
- input = read("*")
- if input == "cake" then
- os.pullEvent = oldpullEvent
- break
- end
- print("No.")
- end
- h = fs.open("CloseShop","w")
- h.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement