Trying to write my first ever woodcutting script.
program new;
{$DEFINE SMART}
{$I P07Include.Simba}
{$i srl/srl.simba}
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active:=True;
end;
procedure ChopTree;
var x, y: integer;
begin
repeat
if FindObj (x, y, 'hop', 1848131, 35) then
Mouse (x, y, 2, 2, false);
ChooseOption('hop');
repeat
wait(1200+random(250));
Until not IsUpText('ree') or (InvFull);
until(InvFull);
end;
begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
ChopTree;
end.
Keeping getting this error when using the 07 include.
[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.
Please help


Reply With Quote







