if event.type == MOUSEBUTTONUP:
mouseX, mouseY=event.pos
if warsaw_button.collidepoint(mouseX,mouseY):
choices = ["build a structure", "acquire units", "destroy structure", "launch from silo"]
choicebox("What do you want to do commander?", warsaw_name, choices)
if choicebox == choices[0]:
msgbox("you want to build a structure")
elif choicebox == choices[1]:
msgbox("you want to acquire more units")
elif choicebox == choices[2]:
msgbox("you want to destroy structures you built")
elif choicebox == choices[3]:
msgbox("you want to launch missile from a silo")
When ever I choose something, the msgbox just wouldn't come out