View Full Version : Trying to make script rest
illuminatiswag
02-14-2012, 04:13 PM
Im trying to add to this script so it can rest at bank at x amount of run left but with no success lol tryed adding flights method from his nature script but didnt work can anyone please help me
lilcmp1
02-14-2012, 04:16 PM
Try calling this. It looks for the color of an empty run counter.
Function EnergyChecker: Boolean;
Begin
If FindColorSpiralTolerance(X, Y, 255, 736, 104, 761, 121, 10)then
Begin
Wait(Randomrange(200, 320));
RestUntil(RandomRange(80,90));
End;
End;
illuminatiswag
02-14-2012, 04:22 PM
Will try now or after this damn update
illuminatiswag
02-14-2012, 05:27 PM
No didn't work :(
drawboy11
02-14-2012, 05:44 PM
Try calling this. It looks for the color of an empty run counter.
Function EnergyChecker: Boolean;
Begin
If RunEnergy(0)then
Begin
Wait(Randomrange(200, 320));
RestUntil(RandomRange(80,90));
End;
End;
This should work, I don't have simba open, so hit CTL+Space when you type RunEnergy and it will show it, there is a built in function for this. Hope it Helps(:
x[Warrior]x3500
02-14-2012, 05:45 PM
helpful function:
runEnergy(30); // Toggles run if energy is greater or equal to 30 (or whatever number u choose). Results true if energy is greater or equal to 30.
RestUntil(100); //Rests until your Run energy is above 100 (or whatever number u choose). Results True if successful.
EDIT: the post above mine will be wrong because:
you need to change If RunEnergy(0)then to if(not(RunEnergy(1)))then
illuminatiswag
02-14-2012, 05:47 PM
This should work, I don't have simba open, so hit CTL+Space when you type RunEnergy and it will show it, there is a built in function for this. Hope it Helps(:
Where in the script should i put this though don't want it to just randomly stop in middle of nowhere lol would get killed by NPC lmao
illuminatiswag
02-14-2012, 05:49 PM
x3500;929180']helpful function:
runEnergy(30); // Toggles run if energy is greater or equal to 30 (or whatever number u choose). Results true if energy is greater or equal to 30.
RestUntil(100); //Rests until your Run energy is above 100 (or whatever number u choose). Results True if successful.
EDIT: the post above mine will be wrong because:
you need to change If RunEnergy(0)then to if(not(RunEnergy(1)))then
Where would i put this in the script if i want this to do it at the bank before opening and withdrawing more pure ess ? no scripting knowledge at all
x[Warrior]x3500
02-14-2012, 05:51 PM
u would put this in front of your "openbankfast" (etc) procedure is.
no scripting knowledge at all
if you have no scripting knowledge, how did u create a script?
illuminatiswag
02-14-2012, 06:29 PM
x3500;929189']u would put this in front of your "openbankfast" (etc) procedure is.
if you have no scripting knowledge, how did u create a script?
I never said i made it ?
Chris
02-14-2012, 06:32 PM
This is what I'm using:
if GetMMLevels('run', s) < 20 then
begin
RestUntil(90);
end;
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.