Jump to content

Recommended Posts

Posted

this si the code im working with thats the problem:

do

sleep("100")

$var = PixelGetColor( 55 , 104 )

$ok = PidelGetColor( 541 , 429)

If $ok = 15526360 then

mouseclick("left", 541, 429)

Else

send("1")

end if

until $var > 3238597

It returns an error until statment with no do statment, did the same for while statments too. Is my If statment wrong or is this a problem that needs to be addressed? I will attack the whole file if u need it.

This was originally a healtrainer for a game but its still really basic

Thanks for any help

Jonathan2133

  • Developers
Posted (edited)

end if must be EndIf

AND PidelGetColor probably has to be PixelGetColor ......

:P

No BUG but Support issue ... Moved to Support forum..

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

end if must be EndIf

AND PidelGetColor probably has to be PixelGetColor ......

:P

No BUG but Support issue ... Moved to Support forum..

maybe he wanted to know what color the pidel was? sorry, too many energy drinks today so i'm getting a little goofy...
Posted

maybe he wanted to know what color the pidel was? sorry, too many energy drinks today so i'm getting a little goofy...

No i wanted to know why it was messin up on me... many thanks sorry its in the wrong spot. Thanks for the help :P

Posted

No i wanted to know why it was messin up on me... many thanks sorry its in the wrong spot. Thanks for the help :P

it's cool man, you're not the first person to do it and probably won't be the last. welcome to the forums.

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
×
×
  • Create New...