sm321
2012-03-02 07:13:15
I've got this script at the moment:
Yet, when I compile the script, I get this error:
What do I do?
program DTM;
{$1 SRL\SRL.scar}
var
Bar, X, Y:integer
begin
SetUpSRL;
Bar := DTMFromString('mrAAAAHic42BgYGhjhOAeIJ4AxK1AXA/ElUDcBMRLgXguEC8A4mVAvAGI1wLxSqiYh6YY0BQmPBg/YCSAYQAAQtoKCw==');
If FindDTM(Bar, X, Y, MSX1, MSY1, MSX2, MSY2) Then
begin
WriteLn('Clicked Chocolate Bar');
MMouse(X, Y, 7, 7);
If IsUpText('late') then
MMouse(x, y , 0, 0, True);
end;
FreeDTM(Robe);
end. Yet, when I compile the script, I get this error:
Exception in Script: Unknown compiler directives at 4:3What do I do?