thenewkid Posted December 19, 2006 Posted December 19, 2006 Hi does any one know whats wrong with this ? it says theres a erorr with the while loop CODE While if $name = "" Then ExitLoop Else MsgBox(0,"",$name) EndIf WEnd some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with
CoePSX Posted December 19, 2006 Posted December 19, 2006 You missed the While condition. Put a 1 there if you want it to always be true (Infinite loop) While 1 If $name = "" Then ExitLoop Else MsgBox(0,"",$name) EndIf WEnd [quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"]╔══════════════════════════════╗║░░██░░░░░░░░██░░███░░░████░░░█║║░█░░█░░██░░█░░█░█░░█░█░░░░█░█░║║░█░░░░█░░█░████░███░░░██░░░█░░║║░█░░█░█░░█░█░░░░█░░░░░░░█░█░█░║║░░██░░░██░░░██░░█░░░░███░█░░░█║╚══════════════════════════════╝[/font]
thenewkid Posted December 19, 2006 Author Posted December 19, 2006 i see so what else can go behind a while? thanks some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with
CoePSX Posted December 19, 2006 Posted December 19, 2006 I'm not sure I understood what you meant with "behind a while". You can use any condition, just like in a regular If statement. For example: $Variable = 1 While ($Variable < 10) $Variable = $Variable + 1 WEndoÝ÷ ØêÚºÚ"µÍÌÍÕ[YH[Y[] BÚ[H [YY ÌÍÕ[YH È L BÛY L BÑ[ You can use the tags [autoit][/autoit] to put autoit code instead of the regular [code][/code]. The code gets colored [quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"]╔══════════════════════════════╗║░░██░░░░░░░░██░░███░░░████░░░█║║░█░░█░░██░░█░░█░█░░█░█░░░░█░█░║║░█░░░░█░░█░████░███░░░██░░░█░░║║░█░░█░█░░█░█░░░░█░░░░░░░█░█░█░║║░░██░░░██░░░██░░█░░░░███░█░░░█║╚══════════════════════════════╝[/font]
thenewkid Posted December 19, 2006 Author Posted December 19, 2006 thx some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with
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