Jump to content

Recommended Posts

Posted

I was wondering the command to repeat a whole script i tried putting my whole script in a

While 1

Wend

But it didnt work I recieved an error my script kinda looks like this

Stage()

Reaction()

Race()

Wait()

Func Stage()

Blah blah blah

EndFunc

Func Reaction()

Blah blah blah

EndFunc

And so on with the rest of the funcs how would I get it to repeat all of those funcs? thanks

Posted (edited)

  WhySoBanned said:

I was wondering the command to repeat a whole script i tried putting my whole script in a

While 1

Wend

But it didnt work I recieved an error my script kinda looks like this

Stage()

Reaction()

Race()

Wait()

Func Stage()

Blah blah blah

EndFunc

Func Reaction()

Blah blah blah

EndFunc

And so on with the rest of the funcs how would I get it to repeat all of those funcs? thanks

Do you want it to repeat a function based on an action or just loop it until the script is interupted or exited?

MsCreator, ha well next time :shocked:

Edited by EndFunc
EndFuncAutoIt is the shiznit. I love it.
Posted

Hi,

Try this method:

While 1
   Stage()
   Reaction()
   Race()
   Wait()
Wend

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...