How do I implement it into my script? Is there a thread on this?
I couldn't find one.
How do I implement it into my script? Is there a thread on this?
I couldn't find one.
In a procedure where there is the possibility of randoms appearing you can place
FindNormalRandoms;
before it performs a task (that way it will not perform the task if it is stuck in a random).
or alternatively if you want it to completely get out of the procedure/function if it is in a random
Simba Code:if FindNormalRandoms then
Exit;{or TerminateScript;}
Thanks!
Just to be safe, make sure you add it to every single loop you have.
Miner & Urn Crafter & 07 Chicken Killer
SPS BlindWalk Tutorial
Working on: Nothing
teacher in every art, brought the fire that hath proved to mortals a means to mighty ends
One last question. Here is a procedure:
Simba Code:{*
Author: Google
Deposits five pure essence from the inventory.
*}
Procedure DEssence;
Begin
Begin
If FindBitMapTolerancein(Ess, X, Y, 612, 223, 711, 344, 65) Then
Begin
HumanMMouse(X, Y, 5, 5);
ClickMouse2(False);
ChooseOption('Deposit-5');
End;
End;
End;
Where in the Procedure would I put FindNormalRandoms?
Thanks everyone for helping me learn!![]()
Something like this should work -
Simba Code:procedure DEssence;
begin
if FindNormalRandoms then
Exit;
if FindBitMapTolerancein(Ess, X, Y, 612, 223, 711, 344, 65) Then
begin
HumanMMouse(X, Y, 5, 5);
ClickMouse2(False);
ChooseOption('Deposit-5');
end;
end;
Thanks for you help
There are currently 1 users browsing this thread. (0 members and 1 guests)