KFC
2012-01-04 01:16:05
program CagedOgerer;
{$i /SRL/SRL.scar}
procedure AntiBan;
begin
case random(250) of
0: RandomRClick;
1: BoredHuman;
2: HoverSkill('Ranged', False);
3: ExamineInv;
4: RandomMovement;
end;
end;
Procedure KillOgres;
Var
x, y:Integer;
Begin
FindNormalRandoms
AntiBan;
FindObjTPA(x, y, 9160669, 20, 1, 10, 35, 100, ['more options']);
MMouse(x, y, 0, 0);
GetMousePos(x, y);
Mouse(x, y, 0, 0, False);
ChooseOption('ttack');
AntiBan;
Wait(30000+Random(546)); // adjustable(spelling?) to range level
End;
begin
SetUpSRL;
repeat
KillOgres;
until(false);
end. 2 questions.
1) is there a way when its finding the ogre (findobjtpa) and it right clicks it to check the option menu if the option 'attack' is available, and if it is, click it, and if not, relocate another ogre?
2)is there a way for it to find normal randoms while it is waiting the 30000 ms i asked it to?
noob scripter, clueless :/