Sign in to follow this  
Followers 0
xZZTx

Running more then one while

8 posts in this topic

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..

Share this post


Link to post
Share on other sites

.. code please ...

I can't help you if I don't know what are you trying to do.


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
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..

Share this post


Link to post
Share on other sites

They are both updates everytime the while loop is executed.

I don't know why do you want to execute all other functions in the main loop?


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
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..

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

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..

Share this post


Link to post
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
Sign in to follow this  
Followers 0