SCAR Code:
program BanditsAfker;
{.include SRL\SRL.scar}
var
Antibans :integer;
GuthanSet: Boolean;
const
HpTillBeep = 50; // Hp till guthan when fighting
Hptillnormal = 80; // hp till equiping normal
procedure Guthan1;
begin
MouseItem(1,true);
wait(100);
MouseItem(2,true);
wait(100);
MouseItem(3,true);
wait(100);
MouseItem(4,true);
end;
procedure normalset;
begin
MouseItem(1,true);
wait(100);
MouseItem(2,true);
wait(100);
MouseItem(3,true);
wait(100);
MouseItem(4,true);
wait(100);
MouseItem(5,true);
end;
procedure mainloop;
var
Red:string;
S:string;
Green:string;
begin
repeat
if GetMMLevels('hitpoints',Red) < HpTillBeep then
begin
if not Guthanset then
begin
Guthan1;
guthanset := true;
end;
if GetMMLevels('hitpoints',Green) > HpTillNormal then
begin
if guthanset then
begin
normalset;
guthanset := false;
end;
end;
end;
until(false)
end;
begin
SetupSRL;
mainloop;
end.
strange, huh it looks like if the hp is greater then 80 it reequiped my normal set, but it doesnt do anything?
it does equip guthan.