The problem I'm having occurs after it executes "func var1". It is supposed to make a left-mouse click and then wait for five seconds, which it does just fine. However, it then executes that same function again, as if it's not updating the color variables quite quick enough and it still believes that all of the conditions needed to run "func var1" are true(When in reality, it SHOULD go on to do one of the "elseif" commands, such as call one of my other functions(MoveRight).

What I suggest is spending some time reading the 'Help File' and taking part in some tutorials. There are many tutorials on You Tube along with a Tutorial built in AutoIt in Example section of the Forums called: '

I know you just want to jump right into it, but this is one of those things in life that pay doing the studying first. It will save you time, and us as well.

Realm

P.S. Please do not bump your posts within 24 hours in future. This is not a 24/7 support forum - those who answer are only here because they like helping others and have some time to spare. You just have to wait until someone who knows something about your particular problem, and is willing to help, comes online. Be patient and someone will answer eventually.

My Contributions:Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time.RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry.