daily pastebin goal
47%
SHARE
TWEET

Untitled

a guest Jun 30th, 2018 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. write("Please Enter Your Name.\n\nName: ")
  4. y = io.read()
  5. term.clear()
  6. term.setCursorPos(1,1)
  7. write("Message: ")
  8. x = io.read()
  9. if x ~= "" then
  10. sleep(1)
  11. term.clear()
  12. term.setCursorPos(1,1)
  13. print("Would You Like To Send This Message To Dj Or SuPeRMiNeR?\n\n"..x.."\n\ny/n\n")
  14. if input == "y" then
  15. term.clear()
  16. term.setCursorPos(1,1)
  17. else
  18. os.reboot()
  19. end
  20.    repeat
  21.    print("Please Login To View Mail.")
  22.    sleep(1)
  23.    term.clear()
  24.    term.setCursorPos(1,1)
  25.    write("Username: ")
  26.    input = read("*")
  27.    if input ~= "random" then
  28.    print("User Not Registered.")
  29.    sleep(1)
  30.    term.clear()
  31.    term.setCursorPos(1,1)
  32.    end
  33.    until
  34.    input == "random"
  35.    term.clear()
  36.    term.setCursorPos(1,1)
  37.    repeat
  38.    write("Password: ")
  39.    input = read("*")
  40.    if input ~= "libra123" then
  41.    print("Login Failed.")
  42.    sleep(1)
  43.    term.clear()
  44.    term.setCursorPos(1,1)
  45.    end
  46.    until
  47.    input == "libra123"
  48.    sleep(1)
  49.    term.clear()
  50.    term.setCursorPos(1,1)
  51.    print(y.." says:\n\n"..x
  52. else
  53. print("Blank Messages Are Not Accepted.")
  54. sleep(1)
  55. os.reboot()
  56. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top