Simba Code:
program LastResort;
{$I SRL/SRL.simba}
var
x,y: integer; //since you are using these variables in the whole script just declare them at top
begin
ActivateClient; //moved these two(ActivateCLient and SetupSRL) here to clean up the script
SetupSRL;
repeat //this repeat will only repeat what is inside, not the two lines above
if (FindColor(x,y, 1414418, MMX1, MMY1, MMX2, MMY2)) then
MMouse(x,y,0,0); //this moves the mouse to the x and y coor where simba found the color you were looking for
ClickMouse(x,y, mouse_Left); //this then clicks the x, y coor that it just moved to
Wait(250);
until (InvFull);
end.
Enjoy and good luck!