Falc0 Posted July 30, 2004 Posted July 30, 2004 Yes, Falc0 needs help once again Anyways, what I am trying to do is make it so if they put a certain number in, in the .ini file such as, 1, it will go to a certain part in the code or if they choose 2 start the script in another part in the code. I don't even know if it this is possible using AutoIt but I figured I'd ask because I didn't know what to search for in the help file. RK-DemonSpawned
ezzetabi Posted July 30, 2004 Posted July 30, 2004 RTFM $n = IniRead("c:\myinifile.ini","General","Put your number here","1") Select Case $n = 1 ;Do what you want with 1 Case $n = 2 ;Do what you want with 2 Case $n = 3 ;Do what you want with 3 Case Else ;Do what you want in other cases EndSelect
Falc0 Posted July 30, 2004 Author Posted July 30, 2004 I'll just assume that means read the f*cking manual Anyways, thanks RK-DemonSpawned
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now