I am working on a basic yes no game right now as my first vbscript app and I am worried that there is a more efficient way to write this. My main concern is accounting for lowercase answers and at the end I have to write end end end end end etc, my current solution for multiple answers is writing more if statements but that makes my code longer and require a lot of ends at the final line of code
if a ="No" Then
p = MsgBox("Bye")
Else
if a ="no" Then
p1 = MsgBox("Bye")
Else
b = InputBox("What is your name?")
c = InputBox("Isn't that a good name?(Yes/No)")
if c ="No" Then
d = MsgBox("That's not nice.")
Else
if c ="no" Then
d1 = MsgBox("That's not nice.")
Else
l = MsgBox("It's good that you like it, afterall you are stuck with that name.")end if end if end if end if```