Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Spam Script
- * @copyright 2015 beautifulAngel38
- * @description Spams messages
- */
- var PREDEFINED_COUNT = 41;
- var USE_DC = false;
- var phrases = ['Hi', 'haha', 'hohoho santa says', 'hohoho xD', 'ily', 'i am bored bestie', 'i am too cool like you','I love you ', 'You are amazing', ' you are the honestly best', 'You win all the time'];
- function getRandomPhrase()
- {
- return phrases[Math.floor(Math.random()*phrases.length)];
- }
- function spam()
- {
- $("#Comment").val(getRandomPhrase() + Math.floor(Math.random()*90000) + 10000);
- $("#chatForm").submit();
- }
- function repeat()
- {
- for(var i = 0; i < PREDEFINED_COUNT; i++)
- {
- spam();
- }
- }
- if(USE_DC)
- {
- repeat();
- }
- else {
- setInterval(function(){spam();},50);
- }
- // complete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement