when gf clicked set [password v] to _ show when gf clicked ask [password please] forever if < (answer) = password > set [password v] to < (answer) > hidethen have code like this to other sprites
when gf clicked forever if < (password) = password > what you want the sprite to do here
Offline
when gf clicked stop all
Last edited by machinespray (2012-12-10 13:23:51)
Offline
A script for making text:
when gf clicked show clear set size to (100)% switch to costume [cat1-a v] go to x: (0) y: (0) ask [Type anything] and wait set [ans v] to (answer) set [num v] to [1] go to x: (-200) y: (0) set size to (25)% repeat (length of (answer)) if <(letter (num) of (ans)) = [a]> switch to costume [a v] end if <(letter (num) of (ans)) = [b]> switch to costume [b v] end if <(letter (num) of (ans)) = [c]> switch to costume [c v] end if <(letter (num) of (ans)) = [d]> switch to costume [d v] end if <(letter (num) of (ans)) = [e]> switch to costume [e v] end if <(letter (num) of (ans)) = [f]> switch to costume [f v] end if <(letter (num) of (ans)) = [g]> switch to costume [g v] end if <(letter (num) of (ans)) = [h]> switch to costume [h v] end if <(letter (num) of (ans)) = [i]> switch to costume [i v] end if <(letter (num) of (ans)) = [j]> switch to costume [j v] end if <(letter (num) of (ans)) = [k]> switch to costume [k v] end if <(letter (num) of (ans)) = [l]> switch to costume [l v] end if <(letter (num) of (ans)) = [m]> switch to costume [m v] end if <(letter (num) of (ans)) = [n]> switch to costume [n v] end if <(letter (num) of (ans)) = [o]> switch to costume [o v] end if <(letter (num) of (ans)) = [p]> switch to costume [p v] end if <(letter (num) of (ans)) = [q]> switch to costume [q v] end if <(letter (num) of (ans)) = [r]> switch to costume [r v] end if <(letter (num) of (ans)) = [s]> switch to costume [s v] end if <(letter (num) of (ans)) = [t]> switch to costume [t v] end if <(letter (num) of (ans)) = [u]> switch to costume [u v] end if <(letter (num) of (ans)) = [v]> switch to costume [v v] end if <(letter (num) of (ans)) = [w]> switch to costume [w v] end if <(letter (num) of (ans)) = [x]> switch to costume [x v] end if <(letter (num) of (ans)) = [y]> switch to costume [y v] end if <(letter (num) of (ans)) = [z]> switch to costume [z v] end if <(letter (num) of (ans)) = [ ]> switch to costume [costume1 v] end stamp move (20) steps change [num v] by (1) end hide
Last edited by machinespray (2012-12-10 13:25:15)
Offline
when gf clicked say [cool it works!!!]
Last edited by machinespray (2012-12-10 13:26:27)
Offline
dvd4 wrote:
otnayupidstay wrote:
when gf clicked forever get [up v] eat go to [School v] eat go to [Home v] eat sleep endfixed
I would think that when "sleep" is passed, sleep would end.
Offline
There is a much simpler way of doing it:
machinespray wrote:
A script for making text:
when gf clicked set [num v] to [1] ask [type text] and wait repeat (length of (answer)) switch to costume (letter (num) of (answer)) change x by (8) stamp change [num v] by (1) end
Last edited by 30-1 (2012-12-10 13:47:45)
Offline
321Thomas123 wrote:
when gf clicked ask [password please] and wait forever if < (answer) = [password]> set [password v] to (answer) hide end
Fixed.
Last edited by ErnieParke (2012-12-10 22:12:04)
Offline
round ()
Last edited by Firedrake969 (2012-12-10 22:00:43)
Offline
when gf clicked repeat until <(Scratch) = [2.0]> go to [CRISTMAS!!! v] end think [Scratch 2.0 on CRISTMAS!] for (777) secs say [SCRATCH ROCKS!!!]
Offline
hi! i'm bored but i like foxes coyotes and wolves!
Offline
To all of the spamers above, please don't spam here. There are other websites for that.
Paddle2See wrote:
However, please do not turn this into a spam area. Post until you are comfortable with the Scratchblock syntax and then stop. Don't make ongoing stories or conversations here.
Offline
when gf clicked say [i haven't posted anything in this for a long time] for (5) secs say [it's cool what people think of these days] for (5) secs say [Let's Cerlebrate! 3,000,000 projects is Near!] for (4) secs play sound [ Celebration by Kool and the Gang v]until done say [THAT was fun.] for (3) secs say [let's reach for 5,000,000] for (5) secs stop [SCRATCH ON!] all
Last edited by gfchll (2012-12-11 17:40:29)
Offline
When Green Flag Clicked When Green Flag Clicked When Key [space] Pressed trololololololololololo! TROLOLOLOLO! TROLOLOLOLO! TROLOLOLOLO! TROLOLOLOLO! HEHEHEHEHEHEHEHEHEHEHEEEEEE! TROLOLOLOLO! :D:D:D:D:D:D:D:D:D:D:D:D:D: testinginginginginginginginginginginginginging ingtestestestestestestestesttesttesttesttesting inginginginginginging TROLOLO When Key [TROLOLOLOLO] Pressed
Offline
Sorry if I annoy everyone, but I like doing funny scratch blocks. Soo.....
[scratchblocks]
When Key [Microwave] Pressed
Open Microwave
Wait <500>
Put HotPocket in Microwave
Wait <3 Minutes>
Broadcast [Hotpocket Done Cooking]
When I receive [Hotpocket Done Cooking]
Take Hotpocket out of MicroWave
Broadcast [This tastes good!]
Offline
When Key [Microwave] Pressed Open Microwave Wait <500> Put HotPocket in Microwave Wait <3 Minutes> Broadcast [Hotpocket Done Cooking] When I receive [Hotpocket Done Cooking] Take Hotpocket out of MicroWave Broadcast [This tastes good!]
Offline
Balboa7 wrote:
Sorry if I annoy everyone, but I like doing funny scratch blocks. Soo.....
When Key [Microwave] Pressed Open Microwave Wait <500> Put HotPocket in Microwave Wait <3 Minutes> Broadcast [Hotpocket Done Cooking] When I receive [Hotpocket Done Cooking] Take Hotpocket out of MicroWave Broadcast [This tastes good!][/quote]
I failed, I was supposed to put ""
Offline
When flag clicked
if 1+1=2 do
while true do end
Offline
when gf clicked forever motor on for (1) secs motor on for (1) secs motor on for (1) secs motor on for (1) secs end
Offline
when gf clicked repeat [0] stop all pinks end say [I <3 Scratch!]
Offline