Sign in to follow this  
Followers 0
jackyyll

Going to a func

2 posts in this topic

how do i do this:

i want to do this

If WinActive("Monster&Me - MythOfOrient") Then

    EndIf

than have it skip to a func if its open

and skip to another func if not

Share this post


Link to post
Share on other sites



If WinActive("Monster&Me - MythOfOrient") Then
       _IfActive()
Else
      _NotActive()
EndIf


Func _IfActive()
     ;to do code here
Endfunc

Func _NotActive()
      ;to do code here
Endfunc

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