Need help with if statments in my code.
Posted: Sun Feb 27, 2011 8:50 pm
Ok so I have an image map which is a bulletin board with flyers on it that you can click on. I want it be so when you click on one, you get a menu item which asks if you want to confirm. However i keep getting errors with the if statements. Does thsi work or no
What did I miss? Thnx
Code: Select all
elif result == "student":
show melonsurprised with vpunch:
xpos 150 ypos 50
hide melonnya
m "Huh student council for serious! Fer serious? Who the heck would want to do that??!"
menu:
"Yes":
jump Student_Club
"No wait ":
jump Bulletin_Board
elif result == "cook":
show melontalking with dissolve:
xpos 150 ypos 50
m "Yah! You picked my club! Awesome are you sure?"
menu:
"Yes":
jump Cooking_Club
"No wait ":
jump Bulletin_Board