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

#1 2011-03-05 08:08:33

SpaceManMike
Scratcher
Registered: 2008-02-09
Posts: 100+

Random phrase

some of you have probably seen some of my stupid jokes in my sigg, but is there code for a block that could make a random phrase on the spot?


http://26.media.tumblr.com/tumblr_lvdp6tYTlp1qkvzkho1_500.png

Offline

 

#2 2011-03-05 09:06:38

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Random phrase

SpaceManMike wrote:

some of you have probably seen some of my stupid jokes in my sigg, but is there code for a block that could make a random phrase on the spot?

Not a phrase that produces text, but you can incorporate a PHP image in your siggy (like my post counter).
MathWizz is good at this stuff!

Offline

 

#3 2011-03-05 09:19:44

SpaceManMike
Scratcher
Registered: 2008-02-09
Posts: 100+

Re: Random phrase

LS97 wrote:

SpaceManMike wrote:

some of you have probably seen some of my stupid jokes in my sigg, but is there code for a block that could make a random phrase on the spot?

Not a phrase that produces text, but you can incorporate a PHP image in your siggy (like my post counter).
MathWizz is good at this stuff!

I mean like a block for Shatter.


http://26.media.tumblr.com/tumblr_lvdp6tYTlp1qkvzkho1_500.png

Offline

 

#4 2011-03-05 11:04:34

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Random phrase

SpaceManMike wrote:

LS97 wrote:

SpaceManMike wrote:

some of you have probably seen some of my stupid jokes in my sigg, but is there code for a block that could make a random phrase on the spot?

Not a phrase that produces text, but you can incorporate a PHP image in your siggy (like my post counter).
MathWizz is good at this stuff!

I mean like a block for Shatter.

oh. well, not totally random. it would pick from the database...

Offline

 

#5 2011-03-05 14:45:33

SpaceManMike
Scratcher
Registered: 2008-02-09
Posts: 100+

Re: Random phrase

LS97 wrote:

SpaceManMike wrote:

LS97 wrote:


Not a phrase that produces text, but you can incorporate a PHP image in your siggy (like my post counter).
MathWizz is good at this stuff!

I mean like a block for Shatter.

oh. well, not totally random. it would pick from the database...

still, is there any way?


http://26.media.tumblr.com/tumblr_lvdp6tYTlp1qkvzkho1_500.png

Offline

 

#6 2011-03-05 14:49:32

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Random phrase

SpaceManMike wrote:

LS97 wrote:

SpaceManMike wrote:


I mean like a block for Shatter.

oh. well, not totally random. it would pick from the database...

still, is there any way?

Yeah, of course!
Just use a random integer and a list to feed from

Offline

 

#7 2011-03-05 15:58:34

SpaceManMike
Scratcher
Registered: 2008-02-09
Posts: 100+

Re: Random phrase

LS97 wrote:

SpaceManMike wrote:

LS97 wrote:


oh. well, not totally random. it would pick from the database...

still, is there any way?

Yeah, of course!
Just use a random integer and a list to feed from

how do i do that?


http://26.media.tumblr.com/tumblr_lvdp6tYTlp1qkvzkho1_500.png

Offline

 

#8 2011-03-05 16:51:58

SpaceManMike
Scratcher
Registered: 2008-02-09
Posts: 100+

Re: Random phrase

bump


http://26.media.tumblr.com/tumblr_lvdp6tYTlp1qkvzkho1_500.png

Offline

 

Board footer