SCAR Code:
var
Knife: integer;
KnifeColor: integer;
LoadDTM;
Begin
Knife := DTMFromString('78DA638C66626078C600066240CC08C4E579B' +
'90C29503608309600D5DC67400120350C486A00F15C05BC');
End;
//----------------------------
Procedure ClickDTM;
Begin
LoadDTM;
If(FindDTM(Knife,x,y,MIX1,MIY1,MIX2,MIY1))Then
//MIX1,MIY1,MIX2,MIY1 = inventory cords
MMouse(x,y,3,3) //forgot this, will move mouse to DTM.
If(IsUpTextMulti('nif','Kni','ife')Then
Begin // if you have 2 or more procedures after a then, you will need a begin
GetMousePos(x,y)
KnifeColor := GetColor(x,y);
Mouse(x,y,1,1,True);
wait(550+random(50));
FreeBitmap(Knife);
End Else
Writeln('Knife was not found, s0z pl0x!');
FreeBitmap(Knife); //will free the bitmap, saves up more space on SCAR
End;
Does that work?