Jump to content

Need Help Revising A Script.


Melkor2
 Share

Recommended Posts

Func _checkhealth()
Do
    $pixeltest = Pixelgetcolor(459, 58)
    sleep(200)
Until $pixeltest = 0x0C0301
endfuncoÝ÷ Ø m Ø^²+njب+)¥ÓÓ}5r§ë,äÓë®*mç²Ú0¢¹&¢·¥G­+Å©©ê­kkÊ)à¶hÉë"z0Û"Ê+­ç-r^jëh×6Func _checkhealth()
Do
    $pixeltest = Pixelgetcolor(459, 58)
    sleep(200)
Until $pixeltest Other Than = 0xBD0400
endfunc

The color 0xBD0400 is static, and used in 3 other parts of the script. I don't want to go into explaining why. But I hope you understand what I'm asking.

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...