Zeta Matt
2013-09-07 12:02:29
begin //this micro script has no meaning, is just an example...
SetupSRL
While FindColorTolerance(x, y, color, xs, ys, xc, yc, tolerance) do DetectMiniMapForClanMates;
end.When I call this, it will first FindColorTolerance and then, if it did find the color, it will DetectMiniMapForClanMates… if the color wasn't found, it won't DetectMiniMapForClanMates.
.
But, what I need is: it will both FindColorTolerance and DetectMiniMapForClanMates; if the color was found, it will just continue doing both…if the color wasn't found, then it will stop DetectMiniMapForClanMates right when this procedure ends, and then will continue to the rest of the script… How could I do this?