This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2010-07-23 21:20:27

adamk8875
New Scratcher
Registered: 2010-07-22
Posts: 16

Re: School project help

ok here is an image http://koenfam.co.cc/new1.jpg does that look right?

Offline

 

#27 2010-07-23 21:29:47

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: School project help

You've almost got it!  smile 

- Change your "repeat until" back to a "repeat 10" as it was before
- Put the repeat until as you have it just after the first "set counter to" but don't let it wrap around any blocks.
- Put inside the "repeat until" you just had, this block:

Code:

set counter to (pick random (1) to (length of [answers])

Make sure that is the only block inside the "repeat until."
- Remove the "add (counter) to asked questions" block that you have.
- Place that block just after your "repeat until."

Then it should work perfectly, so long as you have more than 10 questions.

Offline

 

#28 2010-07-23 21:46:28

adamk8875
New Scratcher
Registered: 2010-07-22
Posts: 16

Re: School project help

ok here is an image http://koenfam.cot.cc/new2.jpg i ran it and it seems to run great if you notice anything wrong let me know if not thanks alot for your help

Offline

 

#29 2010-07-24 16:45:17

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: School project help

adamk8875 wrote:

ok here is an image http://koenfam.cot.cc/new2.jpg i ran it and it seems to run great if you notice anything wrong let me know if not thanks alot for your help

That image doesn't seem to work - but if it's working fine then I guess there's not much of an issue! If you post an image here, I'll be able to double-check, but I think you'll be in the clear  smile

Offline

 

#30 2010-07-24 18:47:46

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: School project help

The URL was mistyped - here's the real link:
http://koenfam.co.cc/new2.jpg


Yawn.

Offline

 

#31 2010-07-24 19:50:49

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: School project help

meowmeow55 wrote:

The URL was mistyped - here's the real link:
http://koenfam.co.cc/new2.jpg

Ah - thank you for pointing that out! Your script is super-close - you just need to add a "delete all of askedquestions" to the top  smile

Offline

 

Board footer