Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getGlee() {
- var con = "bcdfghjklmnpqrstvwxyz";
- var vow = "aeiou";
- var conRan = Math.floor(Math.random()*21);
- var conRann = Math.floor(Math.random()*21);
- var vowRan = Math.floor(Math.random()*5);
- return con.substring(conRan, conRan+1) + vow.substring(vowRan, vowRan+1) + con.substring(conRann, conRann+1) + (Math.floor(Math.random()*89)+10);
- }
- var tri = 0;
- function GetGet() {
- var glee = getGlee();
- if (glee != "get52") {
- tri++;
- console.log("Got "+ glee+", not get52, TRY AGAIN!");
- setTimeout(function(){
- GetGet();
- }, 50);
- } else {
- console.log("Glee received after "+tri+" tries!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement