In-game Functions
combatManager.slayerTask.selectTask(0,0,true,true)
combatManager.slayerTask.killsLeft = 9999
var monsID = 69; var count = 30; while(count > 1 && combatManager.slayerTask.monster.id != monsID) { combatManager.slayerTask.selectTask(0,0,true,true); console.log(count); count = count - 1; var now = new Date().getTime(); if (combatManager.slayerTask.monster.id == monsID) { console.log("Found monster!"); combatManager.slayerTask.jumpButton.click(); } else { while(new Date().getTime() < now + 3500){ /* Do nothing */ } } }