MaCgyver Posted February 8, 2006 Posted February 8, 2006 I am new to this, but I've been moving along. Now with MsgBox I want the user to answer either yes or no. I am trying to learn how make it so something happens depending on the answer. I don't know if I am in the right area, but I've been looking up return. Can anyone help me or point me in the right direction?
greenmachine Posted February 8, 2006 Posted February 8, 2006 No need to double post. But here's what you're looking for: $Test = MsgBox (4, "test", "yes or no?") If $test = 6 Then ; yes elseif $test = 7 then ; no else ; cancel endif
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