when gf clicked set [ScrollX v] to [200] set [chicken v] to [700] set [vrvrvrv v] to [19] end
Last edited by qwerts9000 (2013-03-18 20:48:16)
Offline
when gf clicked repeat until < (scratch) = (awesomeness) say [Let's hope this works!] for (10) secs end
Offline
when gf clicked set [room v] to [0] go to x: [0] y: [0] switch to costume [question] ask [do you want a adventure?] and wait if <(answer) = [no]> stop all else broadcast [adventure v] end
when I recieve [adventure v] go to x: [-200] y: [-140] set [room v] to [1] wait [1] secs broadcast [more cats v] wait [1] secs say [hello!] wait [2] secs ask [do you want to come to their stall?] and wait if <(answer) = [yes] broadcast [stall v] set [room v] to [2] else stop all end
Offline
7734f wrote:
dr3w8 wrote:
when <when gf clicked> clicked //when <when gf clicked> clickedI removed the <>'s form the script. You don't need them
I was trying to put a hat block inside a hat block, not make a "when green flag clicked" block.
Offline
sammyuri wrote:
when gf clicked set [room v] to [0] go to x: [0] y: [0] switch to costume [question] ask [do you want a adventure?] and wait if <(answer) = [no]> stop all else broadcast [adventure v] endwhen I recieve [adventure v] go to x: [-200] y: [-140] set [room v] to [1] wait [1] secs broadcast [more cats v] wait [1] secs say [hello!] wait [2] secs ask [do you want to come to their stall?] and wait if <(answer) = [yes]> broadcast [stall v] set [room v] to [2] else stop all end
fixed.
Last edited by Liamadams (2013-03-19 08:17:12)
Offline
Liamadams wrote:
sammyuri wrote:
when gf clicked set [room v] to [0] go to x: [0] y: [0] switch to costume [question] ask [do you want a adventure?] and wait if <(answer) = [no]> stop all else broadcast [adventure v] endwhen I receive [adventure v] go to x: [-200] y: [-140] set [room v] to [1] wait [1] secs broadcast [more cats v] wait [1] secs say [hello!] wait [2] secs ask [do you want to come to their stall?] and wait if <(answer) = [yes]> broadcast [stall v] set [room v] to [2] else stop all endfixed.
Fixed.
Offline
TrickieParke wrote:
stop all <when flag clicked> if// if// if// if// if// if// if// if// end end end end end end end end end and end FONGRATULATIONS NO! NO! AS BOOLEANS <stop all>//stop all AS BOOLEANS <when clicked>//when clicked AS BOOLEANS <if>//if AS BOOLEANS <else>//else end if <move (10) steps>//if moving 10 steps say [I MOVE 10 STEPS!!!!!] end
Tip: you can see the code on quoting
Offline
Splodgey wrote:
CheeseMunchy wrote:
when i receive [lunch Time! v] Set [Size of pickle v] to [100] Open [oven v] Grab [pickle v] pull up [chair v] wait [3] secs repeat until <(Size of pickle) = [0]> [Chew v] for [3] secs Change [Size of pickle v] by [-1] wait [1] secs say [ew this is nasty] for [2] secs end broadcast [lunch eaten v]when i receive [lunch eaten v] say [LOLOLOLOLOLOLOL] for [a lot] secs
when i receive [hunger v] say [I'm hungry] for [2] secs broadcast [lunch Time! v]
Offline
[scratchblock]
when gf clicked
repeat until < (happiness) = [100] or (cheeseburgers) = [0] >
[Eat cheeseburger v] for (10) secs
change [happiness v] by [1]
change [cheeseburgers v] by [1]
end
if < (cheeseburgers = [0] and not happiness = [100] >
say [More CHEESEBURGERS!] for (5) secs
end
if < happiness = [100] >
say [Horray!!] for (5) secs
end
[/scratchblock]
Offline
when gf clicked repeat until < (happiness) = [100] or (cheeseburgers) = [0] > [Eat cheeseburger v] for (10) secs change [happiness v] by [1] change [cheeseburgers v] by [1] end if < (cheeseburgers) = [0] and < not (happiness) > = [100] > say [More CHEESEBURGERS!] for (5) secs end if < happiness = [100] > say [Horray!!] for (5) secs end
Offline
when I receive [Fast Food v] repeat until < < (happiness) > = [100] or < (cheeseburgers) = [0] > > [Eat cheeseburger v] for (10) secs change [happiness v] by [1] change [cheeseburgers v] by [1] end if < < (cheeseburgers) = [0] > and < not (happiness) = [100] > > say [More CHEESEBURGERS!] for (5) secs end if < (happiness) = [100] > say [Horray!!] for (5) secs end
Offline
when I receive [Fast Food v] repeat until < < (happiness) = [100] > or < (cheeseburgers) = [0] > > [Eat cheeseburger v] for (10) secs change [happiness v] by [1] change [cheeseburgers v] by [1] end if < < (cheeseburgers) = [0] > and < < not (happiness) = [100] > > > say [More CHEESEBURGERS!] for (5) secs end if < (happiness) = [100] > say [Horray!!] for (5) secs endFixed!
Offline
when I receive [Fast Food v] repeat until < < (happiness) = [100] > or < (cheeseburgers) = [0] > > [Eat cheeseburger v] for (10) secs change [happiness v] by [1] change [cheeseburgers v] by [1] end if < < (cheeseburgers) = [0] > and < < not (happiness) = [100] > > > say [More CHEESEBURGERS!] for (5) secs end if < (happiness) = [100] > say [Horray!!] for (5) secs endOr not, but this one is!
Offline
when I receive [Fast Food v] repeat until < < (happiness) = [100] > or < (cheeseburgers) = [0] > > [Eat cheeseburger v] for (10) secs change [happiness v] by [1] change [cheeseburgers v] by [1] end if < < (cheeseburgers) = [0] > and < not (happiness) = [100] > > say [More CHEESEBURGERS!] for (5) secs end if < (happiness) = [100] > say [Horray!!] for (5) secs endBLARG.... Too many <
Offline
when I receive [Fast Food v] repeat until < < (happiness) = [100] > or < (cheeseburgers) = [0] > > [Eat cheeseburger v] for (10) secs change [happiness v] by [1] change [cheeseburgers v] by [1] end if < < (cheeseburgers) = [0] > and < not < (happiness) = [100] > > > say [More CHEESEBURGERS!] for (5) secs end if < (happiness) = [100] > say [Horray!!] for (5) secs endOK! All fixed
Offline
this is background: when gf clicked delete (all) of [users v] delete (all) of [passwords v] hide variable [user v] hide variable [usercount v] hide variable [password v] switch to background [user? v] repeat until <(answer) < [11]> ask [type your username (with up to 10 characters)] and wait end add (answer) to [users v] repeat until <(answer) < [10]> ask [now your password (with up to 9 characters)] and wait end add (answer) to [passwords v] broadcast [play v] forever play sound [_MUSIC_ v] end now the intro sprite when gf clicked hide when I receive [play v] show switch to costume [intro v] go to x: [0] y: [0] set [whirl v] effect to [0] repeat (7) change [whirl v] effect by [1] end repeat (10) change [whirl v] effect by [10] end broadcast [start v]I am tired of writing down scripts. I will do more this afternoon!
Offline
back to the intro sprite: when I receive [start v] hide now the users sprite: when gf clicked hide when I receive [start v] switch to costume [users v] show go to x: [0] y: [0] when I recieve [game v] hide now arrow 1: when gf clicked hide when I recieve [start v] go to x: [-37] y: [31] show variable [user v] show switch to costume [arrow v]I got tired again.
Offline
the alarm clock: when gf clicked broadcast [gf clicked v] go to x: [0] y: [0] set [time v] to [12:00 pm] show forever change [time v] by [1] end when I receive [gf clicked v] show when I receive [alarm clock ring v] play sound [alarm v] repeat (25) next costume end now the boy: when I receive [gf clicked v] show go to x: [30] y: [0] switch to costume [asleep v] wait until <(time) = [7.30 am]> broadcast [alarm clock ring v] and wait switch to costume [yawn v] say [yawn] for (2) secs switch to costume [getting up v] say [what day is it?] for (2) secs switch to costume [checking calendar v] wait [1] secs delete [all] of [days v] add [1] to [days v] add [2] to [days v] add [3] to [days v] add [4] to [days v] add [5] to [days v] add [6] to [days v] add [7] to [days v] switch to costume [getting up v] set [day v] to (item ((day) + [1]) of [days v]) if <(day) > [5]> say [HOORAY! WEEKEND!] for [3] secs broadcast [weekend v] else broadcast [school day v] end say [im tired of writing down scripts] for (infinite) secs
Offline
back.
back to the boy: when gf clicked set [day v] to [1] when I recieve [weekend v] switch to costume [asleep v] wait until <(time) = [9.00 am]> switch to costume [getting up v] go to x: [-150] y: [0] switch to costume [dressed v] wait [1] secs glide [1] secs to x: [280] y: [0] broadcast [kitchen v] switch to costume [at table v] wait [1] secs switch to costume [eating food v] wait [3] secs switch to costume [dressed v] glide [1] secs to x: [-280] y: [0] broadcast [living v] say [I am tired of writing down scripts] for (infinite) secs
Offline
say [#235234] for [#356454] secs when [#464536] clicked z[#464357][#547754][#346454]a when <when OMG <when STOP <when gf clicked> GO AWAY gf clicked> NVM gf clicked> NOPE gf clicked SECRET MESSAGEhmm, interesting use of color
Last edited by KrIsMa (2013-03-21 00:03:16)
Offline
set pen color to <pick random [#123456] [#abcdef]> if <touching color <pen color> ?> say <> and wait else say [nothing] end (join [] [] []) //Try to make this on Panther and send image (don't such that as obsolete blocks). //How to send image from file?
Offline
when gf clicked forever go to x: (cloud x) y: (cloud y) end
Offline