JMCross
12-07-2012, 12:05 AM
Ey, was doing a little script writing, and I took a template and wrote over it with a diffrent code, as I was nearing the testing phase, it wouldnt compile stating unknown identifier???
program Huntsman;
var
X,Y: Integer;
procedure sum;
begin
//1
wait(1000)
FindObjCustom(x,y,['alk', 'talk', 'untsman', 'igli'], [1788491, 1324599, 1524033, 1656390, 2556967], 3)
MMouse(X, Y, 1, 1);
ClickMouse2(True);
Writeln('Talking to Hunter, Cross yer fingers');
Wait(600+random(250));
Waitoption('rade', 3000);
Wait(3500+random(250));
end;
Error] (9:7): Unknown identifier 'FindObjCustom' at line 8
Compiling failed.
program Huntsman;
var
X,Y: Integer;
procedure sum;
begin
//1
wait(1000)
FindObjCustom(x,y,['alk', 'talk', 'untsman', 'igli'], [1788491, 1324599, 1524033, 1656390, 2556967], 3)
MMouse(X, Y, 1, 1);
ClickMouse2(True);
Writeln('Talking to Hunter, Cross yer fingers');
Wait(600+random(250));
Waitoption('rade', 3000);
Wait(3500+random(250));
end;
Error] (9:7): Unknown identifier 'FindObjCustom' at line 8
Compiling failed.