Jump to content
Sign in to follow this  

msgbox and user response

Recommended Posts


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?

Share this post

Link to post
Share on other sites

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


; cancel


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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.