Jump to content

Pixel Color Help


Recommended Posts

I need help with a pixel color. I believe there was another post about using it for Diablo II as an auto heal, what I need help with is how would i assign that to a button, and create another button to disable autoheal? So button would enable it, button 2 would disable it, but I don't know how to use pixel color, can someone give me an example?

Link to comment
Share on other sites

This is a simplelfyed version of how I use to do it:

Global $Paused
Hotkeyset("{INSERT}", "autopotion")
$Paused = NOT $Paused
    While $Paused
Func autopotion()
$x = 76
$y = 462

While 1
    Sleep(100)
If PixelGetColor($x, $y) = 0x8C7D52 Then Send("1")
WEnd
Endfunc
Edited by lolp1
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...