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

#1 2012-06-09 19:17:41

PaniniCat
New Scratcher
Registered: 2012-06-04
Posts: 3

Hi. ;)

Hi! I'm PaniniCat, and, as you can guess, I love cats and paninis! I'm a southern girl!!! I heard about scratch from my friends and decided to try it! It is so fun and easy but somtimes I get confused. >_< Also (I know this probably sounds really dumb), how do you script it so that variables can only go to a certain number? I would appreciate help!!!

(I also like to overuse parentheses) And exclamation marks!!!!!!

:D

Offline

 

#2 2012-06-09 19:36:11

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Hi. ;)

Hello, PaniniCat.
Welcome to the Scratch forums.

For your question, try this:

if < (variable) > [a number] >
set [variable  v] to [a number]
end

Last edited by trinary (2012-06-09 19:36:44)


http://trinary.tk/images/signature_.php

Offline

 

#3 2012-06-09 19:46:07

Ecliptic
Scratcher
Registered: 2012-02-27
Posts: 500+

Re: Hi. ;)

Hello!


If you can read this you are in range.

Offline

 

#4 2012-06-09 20:03:11

PaniniCat
New Scratcher
Registered: 2012-06-04
Posts: 3

Re: Hi. ;)

Trinary: Thanks!

Ecliptic: Hi to you!

Offline

 

#5 2012-06-10 12:25:54

PaniniCat
New Scratcher
Registered: 2012-06-04
Posts: 3

Re: Hi. ;)

Trinary: That didn't work, the variable still goes over 100. >-<

Offline

 

#6 2012-06-11 02:13:11

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Hi. ;)

Try this, then.

when gf clicked
forever
if < (variable) > [a number] >
set [variable  v] to [a number]
end


http://trinary.tk/images/signature_.php

Offline

 

#7 2012-06-11 14:51:47

Misso998
New Scratcher
Registered: 2012-06-01
Posts: 38

Re: Hi. ;)

hello

Offline

 

#8 2012-06-12 09:31:13

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: Hi. ;)

Hi! Welcome to Scratch.  big_smile


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

Board footer