Last active
May 18, 2016 21:17
-
-
Save psql/24f24213e541dc73d631cdb32eb51837 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
messages = [ | |
"love to tweet u" | |
"Oh is this an internet favor?" | |
"make comps great again" | |
"8===D" | |
"you bring honor to our family" | |
"I accidentally 40lbs of mangos" | |
"when I'm not doing things, I'm generally doing stuff." | |
"what's up with stuff" | |
"emoji time for realism πππ΅π»" | |
"They don't think it be like it is, but it do." | |
"Having a bad day? Try not trying!" | |
"are you staying in a Coachella at Burning Man this year or did you book a self driving school bus?" | |
"should replies code?" | |
"I really thing engineers should learn how to operate a train" | |
] | |
randomInterval = Utils.randomNumber(0,10) | |
Utils.interval randomInterval, -> | |
chatMessage.html = Utils.randomChoice(messages).substring(40,length) + "..." | |
# randomInterval = Utils.randomNumber(0,10) - doesn't do shit, because it's only updating inside this scope | |
print randomInterval | |
print chatMessage.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment