jonathan2133 Posted December 30, 2005 Posted December 30, 2005 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 Jos Posted December 30, 2005 Developers Posted December 30, 2005 (edited) end if must be EndIf AND PidelGetColor probably has to be PixelGetColor ...... No BUG but Support issue ... Moved to Support forum.. Edited December 30, 2005 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.
seandisanti Posted December 30, 2005 Posted December 30, 2005 end if must be EndIfAND PidelGetColor probably has to be PixelGetColor ......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...
jonathan2133 Posted December 30, 2005 Author Posted December 30, 2005 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
seandisanti Posted December 30, 2005 Posted December 30, 2005 No i wanted to know why it was messin up on me... many thanks sorry its in the wrong spot. Thanks for the help it's cool man, you're not the first person to do it and probably won't be the last. welcome to the forums.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now