SCAR Code:
{Log In to Runescape and go to fally bank with tinderbox in your inventory
Arc036}
program FM;
{.include SRL/SRL.Scar}
var
BankBooth, UseQuicklyBank, WillowDTM, WithdrawAllWillow, ExitBank, Tinderbox, FallyRoadColor : Integer;
Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '*****';
Players[0].Pass := '*****';
Players[0].Nick := '*****';
Players[0].Active := True;
end;
Procedure SetupScript;
begin
LoginPlayer;
SetAngle(True); //Will Set it to the highest angle, false would be lowest
MakeCompass('N');
end;
Procedure LoadStuff;
begin
WillowDTM:= DTMFromString('78DA63F4616260506564400656C642601A2 6C' +
'A1802542385AAC6545F00554D04508D36AA1A35251E5435AE 4035' +
'06A86A52A24D50D53801D5C8E2B70B00D37504FE');
Tinderbox := DTMFromString('78DA63F4626260506364400626BA2C0C224 01' +
'A24FA1F081843806A2450D538D85A836998286328508D0EAA 1A6B' +
'0B335435AE403506A86AF2B3D250D5D801D528A0AA29CECF4 455E' +
'309542385AAC6D5C91E450D0006BE0BD8');
end;
Procedure WalkOutsideOfBank;
begin
FallyRoadColor:=FindFallyRoadColor;
RadialWalk(FallyRoadColor,{Whatever},{Whatever},{Up To 72}, {Whatever}, {Whatever})
end;
Procedure BankStuff;
begin
OpenBankFast('fwb')//Opens Falador West Bank feb Would be falador east
If BankScreen then
begin//Just and example of how to find and do things
If FindDTM(WillowDTM,x,y,MIx1,MIy1,MIx2,MIy2) then //Will Check to see if there is Willows in the inventory if there are it will deposit them
Begin
Mouse(x,y,5,5,False);//Will move the mouse to the point of where is found the willow DTM which is saved in the variables of x and y
Wait(400+random(300)); //Always Have Random Waits
ChooseOption('All');
end;
end;
end;
Begin {This is what is called a main loop, put procedures and functions in here to tell SCAR what to do}
ActivateClient;//Makes Scar switch to the selected window with the crosshairs
DeclarePlayers;
SetupScript;
LoadStuff;
BankStuff;
WalkOutsideOfBank;
end;
There, that should give you an idea on how to do things
the whole point of the SRL community is {.include SRL/SRL.SCAR} and dont use movemouse,clickmouse and such, use Mouse, and MMouse. If you need any more help MSN message me lolzorzatmyself@hotmail.com