- Joined
- Sep 17, 2015
- Sythe Gold
- 902
- Messages
- 5,003
Assumes prayer book is open. Flicks rapid heal on and off every 40 to 55 seconds. Requested by @Hex and @Pageth.
Code:
SetVirtualMouseJavaModeOn();
if (SetWindow("RuneScape") == ""){Die("Could not find runescape");}while(SelectInnerWindow("SunAwtCanvas")){}
SetVirtualInputsOn();
// SetVirtualInputsOff();
def RapidHeal() {
var x = 0;
var y = 0;
var healthTimer = Time() - 60;
while(true) {
if(Time() - healthTimer > RandomInt(40, 55)) {
x = RandomInt(705, 722);
y = RandomInt(259, 276);
ClickMouse(x, y, 1);
Sleep(RandomInt(75, 250));
ClickMouse(x, y, 1);
healthTimer = Time();
}
}
}
RapidHeal();












































