Jump to content
Sign in to follow this  
Lynie

_GetCorrectColor

Recommended Posts

Lynie

Hello,

I needed this for my bot and thought maybe it could help other people. It just returns the closest color in the array to the specified color. For example

will return 0xFFFFFF. At the moment is only contains one function.

ColorLib.au3

Example on how to use it:

colorLibTest.au3

EDIT: tested and corrected code.

Edited by Lynie

Share this post


Link to post
Share on other sites
Kuroro

thanks..

i've been looking for this..

will try to make my own bot now..:)


[quote]I change my goal post in the middle of the game[/quote]

Share this post


Link to post
Share on other sites
Lynie

thanks..

i've been looking for this..

will try to make my own bot now..:)

you're welcome :), hope you like it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×