Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Screen
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor( colors.green )
- print("-----------------------------------------")
- term.setCursorPos(1,5)
- print("-----------------------------------------")
- term.setTextColor( colors.white )
- term.setCursorPos(1,6)
- term.setTextColor( colors.red )
- write("<Admin>")
- term.setTextColor( colors.white )
- local input = read()
- if input == "hello" then
- term.setCursorPos(1,2)
- print("Hello User, what can i do for you?")
- sleep(1.5)
- shell.run("AI")
- elseif input == "terminate" then
- term.setCursorPos(1,2)
- term.setTextColor( colors.red )
- print("Terminated")
- term.setTextColor( colors.white )
- elseif input == "music" then
- term.setCursprPos(1,2)
- shell.run("dj")
- print("Player music, if has conection with")
- write("a discdrive and a music disk inside it")
- elseif input == "reboot" then
- shell.run("reboot")
- elseif input == "what is the meaning with life" then
- term.setCursorPos(1,2)
- write("My life or yours ?")
- term.setTextColor( colors.purple )
- print(" you / my")
- local input = read()
- if input == "you" then
- term.setCursorPos(1,2)
- print("To serv you, good sir ")
- elseif input == "my" then
- term.setCursorPos(1,2)
- write("42")
- sleep(0.3)
- term.setTextColor( colors.red )
- write(" Can not complie")
- term.setTextColor( colors.white )
- print(" you / my")
- else
- end
- else
- term.setCursorPos(1,2)
- print("I diden't understand")
- sleep(0.5)
- shell.run("AI")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement