I got most of the script done..i just need one or 2 more things more thing...i got it to super heat the first item..how can i get it to do a whole inventory then get into the bank insert the bars and withdraw more ores then repeat.
ty in advance for the help anything else you think i can improve on im open for suggestions. ty
Here is what the script looks like now
scar
SCAR Code:
program SuperHeater;
{.include SRL\SRL.scar}
{.include SRL/SRL/Skill/Magic.scar}
const
LoadsToDo=1;
username='****'; //username here
password='*****'; //password here
procedure ClickExistingUser;
begin
MMouse(455,293,5,5)
wait(200+random(200));
Mouse(455,293,0,0, true)
end;
procedure ClickLogin;
begin
MMouse(259,312,2,2)
wait(200+random(100));
Mouse(259,312,0,0,true)
end;
procedure ClcikOk;
begin
wait(50+random(60));
MMouse(397,336,4,4)
wait(6000+random(60));
Mouse (397,336,0,0,true)
end;
procedure spellbook; //split prgram up into procedures.
begin
GameTab (7) //<< this is right
end;
procedure CastTheSpell;
begin
Cast('Superheat Item'); //it must be like this like i said..
end;
Procedure three;//same
begin
MMouse(584,228, 3, 3) //Make this MMouse
wait(1000+random(300))
Mouse(584,228, 0, 0, true)
end; //You forgot this end.
//You forgot your mainloop. Here you say which procedures you wanna run
begin
SetUpSRL;
wait (1000);
ClickExistingUser;
wait(500+random(100));
TypeSend(username);
wait(500+random(100));
TypeSend(password);
ClickLogin;
ClcikOk;
SpellBook;
CastTheSpell;
three;
NEWLINE:='';
end.
repeat
until=(LoadsToDo)
/ scar