jille_Jr icon

CC: _Black_Viper_'s Password system

jille_Jr | PRO | 10/02/12 08:29:17 PM UTC | 0 ⭐ | 385 👁️ | Never ⏰ | []
Lua |

1.05 KB

|

None

|

0 👍

/

0 👎

-- Goes from 60:
--            ,-========================-,
--            |    Incorrect password    |
--            |                          |
--            |                          |
--            |  Locked for 60 seconds   |
--            |__________________________|
-- And when it hits 9:
--            ,-========================-,
--            |    Incorrect password    |
--            |                          |
--            |                          |
--            |  Locked for 9 seconds   |
--            |__________________________|
-- All you could do is just:
print("            ,-========================-,")
print("            |    Incorrect password      |")
print("            |                            |")
print("            |                            |")
if locked < 10 then
  print("            |  Locked for "..locked.." seconds    |") -- With an extra space at the end
else
  print("            |  Locked for "..locked.." seconds   |") -- Without the extra space
end
print("            |__________________________|")

Comments