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

#1 2008-10-05 16:22:26

pokemon_diamond
Scratcher
Registered: 2007-09-22
Posts: 10

Why doesn't this script work?

<change{ money }by( ((  <fruit*4>  ))

I want to make it so you get $4 for every fruit you have.

Offline

 

#2 2008-10-05 16:35:14

keroro645
Scratcher
Registered: 2008-06-07
Posts: 1000+

Re: Why doesn't this script work?

if i reiceve [fruit]
change money by 4
end

Offline

 

#3 2008-10-05 20:12:39

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: Why doesn't this script work?

pokemon_diamond wrote:

<change{ money }by( ((  <fruit*4>  ))

I want to make it so you get $4 for every fruit you have.

<forever>
<set{ money }to( (( <{ fruit }> <*> 4 ))
<end>

Offline

 

Board footer