because the script tht i want to use uses no mouse. the script is just a 'checker'. i like to afk slay and watch tv. the problem is when i afk i often forgets to check hp,pray left, antifire and stuff like that so when i come back i died and have to run back to the spot and take back my stuff.... to give you a better idea of the script, here it is.
Simba Code:
program OgyAFK;
{$DEFINE SMART}
{$I SRL/SRL.Simba}
procedure DeclarePlayers;
begin
HowManyPlayers := 1; // Number of Players to use
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0; // Player to start with, first one is 0
Players[0].Name := ''; // Username
Players[0].Pass := ''; // Password
Players[0].Active := True; // just leave it as is.
Players[0].Pin := ''; // Bank Pin. Leave it if you don't have one.
Players[0].Integers[1] := 10000; // Number of loads
Players[0].Integers[2] := 375; // Xp For 1 Pouch Made <----------------------------------------
end;
var
SoundPath:string;
Procedure Alert;
begin
SoundPath:=ScriptPath+'bang.wav';
PlaySound(SoundPath);
wait(1000);
end;
Procedure CheckAntiFire;
begin
if FindChatBoxText('dragon',8,127) then
alert;
end;
Procedure HealthCheck;
begin
if (HPpercent < 50) then
alert;
end;
Procedure PrayCheck;
begin
if GetSkillLevel('pray') <= 30 then
alert;
end;
begin
SRL_SixHourFix := True;
Smart_FixSpeed := True;
SetupSRL;
DeclarePlayers;
LogInPlayer;
repeat
checkantifire;;
until (false)
end.