CaptainSpaceCat

Terminal Hacking

Nov 29th, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.06 KB | None | 0 0
  1. function initTerminal()
  2.     --term.setBackgroundColor(colors.green)
  3.     term.clear()
  4.     term.setTextColor(colors.green)
  5.  
  6.     term.setCursorPos(1, 3)
  7.     textutils.slowPrint("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK")
  8.     term.setCursorPos(1, 5)
  9.     write(">")
  10.     sleep(1)
  11.     textutils.slowPrint("SET TERMINAL/INQUIRE")
  12.     term.setCursorPos(1, 7)
  13.     sleep(.25)
  14.     textutils.slowPrint("RIT-V300")
  15.     term.setCursorPos(1, 9)
  16.     write(">")
  17.     sleep(1)
  18.     textutils.slowPrint("SET FILE/PROTECTION-OWNER:RWED ACCOUNTS.F")
  19.     term.setCursorPos(1, 10)
  20.     write(">")
  21.     sleep(.25)
  22.     textutils.slowPrint("SET HALT RESTART/MAINT")
  23.     sleep(1)
  24.     term.clear()
  25.     term.setCursorPos(1, 1)
  26.     textutils.slowPrint("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK PROTOCOL")
  27.     textutils.slowPrint("ENTER PASSWORD NOW")
  28.  
  29.     term.setCursorPos(1, 4)
  30.     print("4 ATTEMPT(S) LEFT: 0 0 0 0")
  31. end
  32.  
  33. words = {
  34.     {"fork", "lick", "larp", "dung", "guns", "fire", "eyes", "wart", "part", "ding", "bars", "cats", "doge", "nose", "cart", "file"},
  35.     {}
  36. }
  37.  
  38. function generateWords(difficulty)
  39.     wLength = difficulty * 2 + 2
  40.    
  41. end
  42.  
  43. initTerminal()
Add Comment
Please, Sign In to add comment