Hi guys. I need help with my scratch project.
Basically, I just need my sprite to ask the user to confirm the day of the week using the "ask" function and "repeat until" function.
In other words, I want my sprite to say: Please confirm what day of the week it is.
The "answer" box will pop up, and will only proceed if the answer = any of the seven days of the week.
How do I do this? This is what I have and it's not working. It just goes straight to the "Sweet! Because today is a week day" part.
This is really frustrating (and I'm doing this for a class). So can anyone help? Thanks.
http://i.imgur.com/OkdYriq.jpg
Offline
You might have the day constantly set to either of the days in the week. It doesn't repeat that first process, because the day of the week is already set. Try this:
when gf clicked set [DayOfWeek v] to [Blank] rest of script..
Offline
I also noticed that there's no way to set the day to Saturday or Sunday, but there are three Fridays. It's probably best that way though, since you get to skip the parking fee.
Anyways, good luck with your project!
Offline
That pretty much solved it. Thanks Harald!
Offline