Initial commit

This commit is contained in:
Andrew Tomaka 2015-04-06 17:01:14 -04:00
commit 95f70d89b8

18
bot.js Normal file
View file

@ -0,0 +1,18 @@
function startClickers() {
delayClick('#randomBossPortal a', 10);
delayClick('#popup span button:contains("Summon Boss")', 1);
delayClick('#popup span button:contains("CONTINUE")', 1);
}
function delayClick(selector, seconds) {
var waiting = setInterval(
function() {
if ($(selector).length > 0) {
$(selector).get(0).click();
}
},
seconds * 1000
)
}
startClickers();