Jump to content

Running more then one while


Recommended Posts

is there a way to run more then one while func?

because i need to have variables that update constently any way i can do that?

Sorry For Any Spelling / Grammar Errors I May Make.... I Failed English Wayyyy To Many Times..
Link to comment
Share on other sites

While 1=1
     If WinActive("World of Warcraft")=1 Then
     $xy = WinGetClientSize("World of Warcraft") 
     $xy1 = WinGetCaretPos()
     sleep(1000)
     call("login") 
     Call("Chatbox") 
     Call("Wisper") 
     call("battleground") 
     call("attack") 
     call("Main") 
 Else
 EndIf
 WEnd

i need

$xy = WinGetClientSize("World of Warcraft")

$xy1 = WinGetCaretPos()

to be updateing constently

Sorry For Any Spelling / Grammar Errors I May Make.... I Failed English Wayyyy To Many Times..
Link to comment
Share on other sites

i did it that way so they run one after another but i need to find a way to make them update constently

Sorry For Any Spelling / Grammar Errors I May Make.... I Failed English Wayyyy To Many Times..
Link to comment
Share on other sites

Maybe adlibenable will help. And don't use Call in this case.

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

ok i understand adlibenable now but if i use it instead of call then wouldn't it try and run all the scripts at the same time?

Edited by xZZTx
Sorry For Any Spelling / Grammar Errors I May Make.... I Failed English Wayyyy To Many Times..
Link to comment
Share on other sites

The title doesnt say it?

More whiles is:

While 1
Sleep(100)
WEnd

While 2
Sleep(100)
WEnd

While 3
Sleep(100)
WEnd

; Etc...

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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