Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[Functions]]--
- function clear()
- term.clear()
- term.setCursorPos(1,1)
- end
- function colorscheme(scheme)
- if scheme == "normal" then
- term.setBackgroundColor(colours.black)
- term.setTextColor(colours.white)
- elseif scheme == "glados" then
- term.setBackgroundColor(colours.black)
- term.setTextColor(colours.red)
- end
- end
- function slowprint(text)
- textutils.slowPrint(text)
- end
- --[[Variables]]--
- name = nil
- --[[Coding]]--
- --[[Intro]]--
- clear()
- colorscheme("glados")
- slowprint("Hello, and welcome to the Aperture Science Enrichment Program.")
- slowprint("Our goal is the ultimate in brain progression.")
- sleep(3)
- clear()
- slowprint("Now, what is your name?")
- colorscheme("normal")
- write(">> ")
- name = read()
- if name == "" then
- colorscheme("glados")
- slowprint("Okay then, I will call you 'fatty', do you like that name Fatty? I bet you do.")
- slowprint("Anyways,")
- name = "Fatty"
- end
- slowprint("END")to the Aperture Science Enrichment Center.")
Add Comment
Please, Sign In to add comment