need help with first script
i am working on my frist script its a willow cutter and banker adn hear it is
SCAR Code:
program DraynorWillowCutterBanker;
{.Include SRL\SRL\Misc\SMART.SCAR}
{.Include SRL\SRL.SCAR}
{.include SRL/SRL/Skill/WoodCutting.scar}
var
x,y:Integer;
const
bankpin:= 0000;
walktotree:= 33814009;
walktobank:= 12632256;
procedure declareplayers;
begin
howmanyplayers:=1;
numberofplayers(howmanyplayers);
players[0].name:='username';
players[0].pass:='pass';
players[0].nick:='3- for letter of your name';
players[0].active:=true;
Mousespeed:= 20;
end;
procedure PreparePlayer;
begin
if not LoggedIn then LoginPlayer;
SetRun(True);
end;
procedure randoms;
begin findnormalrandoms;
if findfight=true then
begin runaway('E',true,1,5000+random(1000));
end;
end;
procedure AntiBan;
begin
if not LoggedIn then Exit;
case (Random(30)) of
11: RandomMovement;
15: BoredHuman;
24: PickUpMouse;
27: begin
Gametab(1 + Random(12));
Wait(3220 + Random(2415));
Gametab(4);
end;
30: SleepAndMoveMouse(3600);
end;
end;
Procedure ChopTree;
begin
if not LoggedIn then
Exit;
repeat
if FindObjCustom(x, y, ['Wil', 'low'], [1989969, 3760987, 2844763], 7) then
begin
Mouse(x,y,0,0,false);
repeat
Wait(100 + (random(150)));
ChooseOption('hop')
until(InvFull)
end;
until(InvFull)
end;
function Banking: Boolean;
begin if (InvFull) then
begin
MakeCompass('N')
Wait (300 + random(160));
OpenBankQuiet('db');
if (PinScreen) then
InPin(YourPin);
if(FindColorSpiral(x, y, 4155248, 547, 206, 734, 464))then
begin
Mouse(x, y, 4, 3, false);
ChooseOption('All'); end;
CloseBank;
Wait(150 + random (278));
end;
end;
begin
end.
i need some feed back on how im dong to far bc i dont want to conintue if some thing is wrong and i need some help with map walking
to acctully get the the trees and to get to the trees to the bank plz help :)