How would I go about prioritizing certain things in my script?
Example:
I want to mine Mithril and Coal, but if there's Mithril I want the script to mine Mithril first.
Didn't see any tutorials on it. >.<
How would I go about prioritizing certain things in my script?
Example:
I want to mine Mithril and Coal, but if there's Mithril I want the script to mine Mithril first.
Didn't see any tutorials on it. >.<
The easiest way I see is to put the colours in an array and loop from the beginning.. else you can write another complex way of doing it.. I personally prioritize using cases with arrays.
Code:RockColors:= [MithrilColour, IronColor, TinColor.....]; //TIntegerArray; For I:= 0 To High(RockColors) do if FindColorsSpiralTolerance(..... RockColors[I].......) then //Mine rock..
I am Ggzz..
Hackintosher
Try objDTMs.
There are currently 1 users browsing this thread. (0 members and 1 guests)