Advertisement
Muzze77

Newone

Mar 24th, 2014
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.66 KB | None | 0 0
  1. while true do
  2.     shell.run("clear")
  3.     print("Name: ")
  4.     Name = io.read()
  5.     sleep(1)
  6.     shell.run("clear")
  7.     print("Password: ")
  8.     Password = io.read()
  9.     shell.run("clear")
  10.     Money = 0
  11.     Accounts = {}
  12.     Accounts.Name = {}
  13.     Accounts.Name.Name = Name
  14.     Accounts.Name.Password = Password
  15.     Accounts.Name.Money = Money
  16.    
  17.     print(Accounts.Name.Name)
  18.     print(Accounts.Name.Password)
  19.     print(Accounts.Name.Money)
  20.     a = Accounts.Name.Name
  21.     b = Accounts.Name.Password
  22.     c = Accounts.Name.Money
  23.     print(a .. b .. c)
  24.     print("Name: ")
  25.     a1 = io.read()
  26.     if a == a1 then
  27.         print("Geklappt")
  28.     else   
  29.         print("Doof")
  30.     end
  31.     sleep(4)
  32.     shell.run("clear")
  33.     print("Done")
  34.     sleep(2)
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement