SRL Archive - OSR Help

AutoColor


Littellj

2012-03-07 19:24:45

How do I make it so that AutoColor only runs once at the beginning of starting a script.

Someone suggested i make the Integer that it spits out a variable but didn't tell me how to do that. -.-

Daniel

2012-03-07 20:51:18

Instead of creating another thread, post it in the original one.

Simple, do the following (or along the lines of):

var
TheColour: Integer;

begin
... // Do all the login stuff
TheColour := AutoColour;
... // Blah blah blah
end.

And instead of doing FindColor(x, y, AutoColour, ….), do FindColor(x, y, TheColour).