User:ByteFoolish: Difference between revisions
From Melvor Idle
ByteFoolish (talk | contribs) No edit summary |
ByteFoolish (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
combatManager.slayerTask.killsLeft = 9999 | combatManager.slayerTask.killsLeft = 9999 | ||
var count = 10 | <nowiki> | ||
var count = 10; | |||
while(count > 0 && combatManager.slayerTask.monster.id != 69) { | while(count > 0 && combatManager.slayerTask.monster.id != 69) { | ||
combatManager.slayerTask.selectTask(0,0,true,true); | combatManager.slayerTask.selectTask(0,0,true,true); | ||
console.log(count) | console.log(count); | ||
count = count - 1; | count = count - 1; | ||
var now = new Date().getTime(); | var now = new Date().getTime(); | ||
while(new Date().getTime() < now + 3500){ /* Do nothing */ } | while(new Date().getTime() < now + 3500){ /* Do nothing */ } | ||
} | }</nowiki> |
Revision as of 02:11, 18 August 2021
In-game Functions
combatManager.slayerTask.selectTask(0,0,true,true)
combatManager.slayerTask.killsLeft = 9999
var count = 10; while(count > 0 && combatManager.slayerTask.monster.id != 69) { combatManager.slayerTask.selectTask(0,0,true,true); console.log(count); count = count - 1; var now = new Date().getTime(); while(new Date().getTime() < now + 3500){ /* Do nothing */ } }