Advertisement
Guest User

startup

a guest
Dec 20th, 2014
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. shell.openTab("showcase")
  2. oldpullEvent = os.pullEvent
  3. os.pullEvent = os.pullEventRaw
  4. term.clear()
  5. term.setCursorPos(1,1)
  6. term.setTextColor(colors.yellow)
  7. print("Shopkeeper 2000, programmed by Terminator_NL")
  8. while true do
  9. term.setTextColor(colors.white)
  10. input = read("*")
  11.  
  12. if input == "cake" then
  13.  os.pullEvent = oldpullEvent
  14.  break
  15. end
  16. print("No.")
  17. end
  18. h = fs.open("CloseShop","w")
  19. h.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement