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

#1 2010-09-13 20:53:11

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Report This Block

not the most useful thing in the world, but it's my first real block code.

Here's what it's used for!
http://i54.tinypic.com/8ze1qg.png

so the block spec is

Code:

('%s' #r #reportThis:)

and the method is:

Code:

reportThis: t1
^t1

if that doesn't work put an indent before ^t1

Last edited by midnightleopard (2010-09-13 20:55:03)


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#2 2010-09-13 23:37:05

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Report This Block

Cool...
Can it hold lists or booleans?
if so, then cool.
Play song [<cool>] lolz


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#3 2010-09-14 11:33:55

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Report This Block

It can hold any reporter (including boolean) or text (that's why midnightleopard put %s).


/* No comment */

Offline

 

#4 2010-09-14 12:45:45

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

Re: Report This Block

the go to mouse pointer shouldn't work (it might, but i dont think so) because the value mouse-pointer is actually a symbol called #mouse translated into various languages.

Offline

 

#5 2010-09-14 14:42:13

Billybob-Mario
Scratcher
Registered: 2008-01-05
Posts: 500+

Re: Report This Block

You can just use the join block and leave the second one empty.

Offline

 

Board footer