Advertisement
jille_Jr

CC: _Black_Viper_'s Password system

Oct 2nd, 2012
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.05 KB | None | 0 0
  1. -- Goes from 60:
  2. --            ,-========================-,
  3. --            |    Incorrect password    |
  4. --            |                          |
  5. --            |                          |
  6. --            |  Locked for 60 seconds   |
  7. --            |__________________________|
  8. -- And when it hits 9:
  9. --            ,-========================-,
  10. --            |    Incorrect password    |
  11. --            |                          |
  12. --            |                          |
  13. --            |  Locked for 9 seconds   |
  14. --            |__________________________|
  15. -- All you could do is just:
  16. print("            ,-========================-,")
  17. print("            |    Incorrect password      |")
  18. print("            |                            |")
  19. print("            |                            |")
  20. if locked < 10 then
  21.   print("            |  Locked for "..locked.." seconds    |") -- With an extra space at the end
  22. else
  23.   print("            |  Locked for "..locked.." seconds   |") -- Without the extra space
  24. end
  25. print("            |__________________________|")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement