Created
January 17, 2017 23:01
-
-
Save rocktronica/65efc163d13a6efac02ea9cdc8eaf557 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var i = 16; | |
var sleep = 0; | |
while (i-- > 0) { | |
var iHex = i.toString(16); | |
var ii = 16; | |
while (ii-- > 0) { | |
(function() { | |
var iiHex = ii.toString(16); | |
var fullHex = iHex + iiHex + iHex + iiHex + iHex + iiHex; | |
var msg = function() { | |
TS.client.ui.onSubmit("#" + fullHex); | |
}; | |
sleep++; | |
setTimeout(msg, sleep * 1000); | |
}()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment