Jhangir
2011-12-21 00:55:36
program PowerChopper;
{$define SMART}
{$i SRL/SRL.scar}
{$i SRL/SRL/Misc/stats.simba}
Const
SRLStats_Username = '';
SRLStats_Password = '';
BreakIn = 135;
BreakFor = 15;
Version = 1.0;
NumbOfPlayers = 1;
StartPlayer = 0;
Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(NumbOfPlayers);
CurrentPlayer := StartPlayer;
with Players[0] do
begin
Name := '';
Pass := '';
Pin := '';
BoxRewards := ['XP','xp','lamp'];
LampSkill := 'Runecrafting';
Active := True;
end;
end;
Procedure StatsGuise(wat:String);
begin
Status(wat);
Disguise(wat);
end;
Procedure Antiban;
Begin
Case Random(192) Of
0: HoverSkill('Woodcut', False);
1: Begin PickUpMouse; SleepAndMoveMouse(3000 + Random(500)); End;
2: ExamineInv;
3: RandomAngle(1);
4: Begin GameTab(Tab_Stats); Wait(3000 + Random(500)); GameTab(Tab_Inv); End;
5: HoverSkill('random', False);
End;
End;
Function FindFrog:Boolean;
Var
x, y: Integer;
Begin
If FindObjCustom(x, y, ['Take', 'Swamp', 'toad'], [1991226, 1991226], 5) Then
WriteLn('Found Frog');
End;
begin
Repeat
FindFrog;
Until(false);
end.Im trying to make my script say found frog in the text box when finding a swamp toad. The script compiles and runs but doesent move the mouse or anything. Also it says [Hint] (58:12): Variable 'Result' never used at line 57