dimanche 26 avril 2020

How to perform multibutton actions? | VBScript | VBS

I have some code, for example:

WScript.Sleep(2000)
x=msgbox("Bruh",1,"buy ddr4")

And by default on "",1"", there are two buttons: OK and Cancel.

I need to perform dif actions on dif buttons. Example: When I click OK, it outputs

x=msgbox("fine",16,"no")

And when I click Cancel, it outputs

x=msgbox("antibruh alert","antibruhher")

How do I do it? If possible, give an example.

Thanks in advance!

Aucun commentaire:

Enregistrer un commentaire