Sign in to follow this  
Followers 0
kanethekiller

Skipping Like Gosub Did

2 posts in this topic

I Am Looking For Something That Can Skip Lines Depending On The Variables... Like Gosub Did...

Ok Here Is The Script

$Res = IniRead (@ScriptDir & "\Pit_Script.ini","_Info_", "Res","")

#If $Res=800X600 Then (Goto A New Part Of The Script I'll Call It $800)
#If $Res=1280x1024 Then (Goto A New Part Of The Script I'll Call It $1280)
Ect...



$800:
Code For $800 Only


$1280:
Code For $1280 Only


Ect

Any Help?

Share this post


Link to post
Share on other sites



$Res = IniRead (@ScriptDir & "\Pit_Script.ini","_Info_", "Res","")

If $Res=800X600 Then

;$800:
;Code For $800 Only
endif

If $Res=1280x1024 Then (Goto A New Part Of The Script I'll Call It $1280)
Ect...

;$1280:
;Code For $1280 Only
endif


Ect


AutoIt3, the MACGYVER Pocket Knife for computers.

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