SRL Archive - Help

Help with Scripting


NiteLeaf

2013-09-24 04:20:30

Hello I need help with a script I made.

The part that I need help is with:

[SIMBA=procedure Auto;
var
x, y: Integer;
begin
if FindColorSpiralTolerance (x, y, 13158, 2304, 443, 2362, 460, 1) Then
begin
movemouse (x, y);
clickmouse (x, y, 1);
end;
end; ]

I know what this process does so that if it finds the colour then it does "then".

But what's the opposite of that. I mean can anyone rearrange that so that if it doesn't detect that color there, then it does something else?

Thanks for your time.