u mean it detects ore instead of pure ess? that means ur DTM is poorly made. Set more sub points around the edge (black outline) of the essence to make it more accurate.
Also u forget a begin and end, and always use waituptext!
Edited with correct standards:
Simba Code:
Program Withdrawall; // no space for title!
{.include SRL\SRL.simba}
Var
PureEssence, X, Y: integer; //for global vars, always use camel cap
begin
SetupSRL;
PureEssence := DTMFromString('m6wAAAHic42ZgYOBjQAABIGYGYnYoWxKIpYFYBsrmB2JBIOaCqpeEyskCsQQQiwAxDxCzAXFBdjaQZCISEw8YScBIAADEIgLM');
If findDTM(PureEssence, X, Y, MSX1, MSY1, MSX2, MSY2) then
begin //for key words (which simba will bold them) always use lowercase
Writeln('Found Pure Essence');
MMouse(x, y, 7, 7);
If WaitUpText('ess',1000) Then
begin
Mouse(x, y, 0, 0, False);
WaitOption('with all', 500); //with all??? it doesnt detect part by part,
end; //try something like "draw All" (forget the actual text, and its case sensitive)
end;
FreeDTM(Pureessence);
end.