souppy
2007-12-06 22:42:34
This is truthfully my 3rd script, but this is my largest and most diverse one yet.
PLEASE DON'T POST ON MY OTHER THREAD.
How does this look ?
It may have some errors/bugs, I'm trying to tweak them as we type.
PLEASE DON'T POST ON MY OTHER THREAD.
//Souppy's First Autowoodcutter\\
program SimplePowerChopper;
{.include SRL/SRL.scar}
var
i,x,y:Integer;
Loads : Integer;
Dropped : Integer;
Prog : Integer;
const
TreeColor1 = Insert Color Here;//Insert tree color here
TreeColor2 = Insert Color Here;//Insert 2nd tree color here
TotalLoads = 10;//How many loads you want to cut
Procedure DeclarePlayers;
Players[0].Name := ''; // Name of your player
Players[0].Pass := ''; // Password of player
Players[0].Nick := ''; // 3 Letters of Name, No Spaces
Players[0].Active := True; // Leave this
end;
procedure CutTree; //Cuts the tree you specified
begin
Disguise ('Norton Anti-Virus')
i:= 0;
repeat
i:=i + 1;
if(FindColor(x,y,TreeColor1,0,0,700,700)) or
(FindColor(x,y,TreeColor2,0,0,700,700)) and
IsUpText('Cut') then
begin
Wait(1000 +random(500))
Mouse(x, y, 3, 3, True);
Wait(5000 +random(500));
end;
Wait(700);
until(InvFull);
end;
procedure AntiBan;
begin
case random(30) of
1: Boredhuman
3: hoverskill('Random',false)
5: begin
RandomRClick
clickoption('Cancel',1)
end;
procedure Drop;
begin
If (InvFull) then
begin
DropTo(2,28);
end else
end;
procedure DoAntiRandoms;
begin
FindTalk;
FindNormalRandoms;
if (FindFight = true) then
begin
RunAwayDirection('N');
Wait(1000+random(2000));
RunBack;
end;
end;
begin
SetupSRL;
Drop;
end.
How does this look ?
It may have some errors/bugs, I'm trying to tweak them as we type.