Advertisement
DerMarten

Random String [LUA]

Jul 27th, 2015
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. chars = {"A","a","B","b","C","c","D","d","E","e","F","f","G","g","H","h","I","i","J","j","K","k","L","l","M","m","N","n","O","o", "P","p", "Q","q","R","r" ,"S","s","T","t", "U","u", "V","v","W","w","X","x","Y","y","Z","z","1","2","3","4","5","6","7","8","9","0","!","?","-",":"}
  2. while true do
  3. rand = math.random(2,table.getn(chars)-1)
  4. write(chars[rand])
  5. sleep(0.05)
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement