lets see if this works.//(hi)
Offline
joletole wrote:
lets see if this works.//(hi)
when i receivejoletole posted ▼askwhat were you trying to do? Variable in a comment?or end a comment with /?and waitI couldn't put "//"the only purpose of this iscomment ▼because it wouldn't work then...
Last edited by Splodgey (2012-03-16 09:48:23)
Offline
First time trying it...
I hope it works!
Edit: Forgot to add closing tag, woops!
Edit2: Seems like the block script stops working if I put text after it...
whenclicked
foreverpoint towardsmouse-pointer ▼move5steps
Last edited by 12_lassy (2012-03-17 10:43:40)
Offline
a1130 wrote:
My early morning routine
:
whenclicked
play soundalarm ▼until donego todining roomeatbreakfast ▼ifbreakfast=goodsayOM NOM NOM this is tasty xDfor1000secselsebroadcastpuke ▼When I receivepuke ▼play soundpuke ▼sayEww! disgusting!for5secs
Hehe.
This is mine: (;-;...)
whenclicked
broadcastmorning routine ▼When I receivemorning routine ▼foreverifnotawake?=yeprepeat untilawake?=yepplay soundmother yelling ▼broadcastWAKE UP ▼When I receiveWAKE UP ▼play soundgrumble ▼turn
180degreessetawake? ▼tonopeplay soundsnore ▼broadcastmorning routine ▼
Offline
whenclicked
ifpost=1sayI haven't had a chance to test these, let's see how it works!
Offline
Whenclicked
Sayhelp! I'm trapped in this box in this script!
Last edited by turkey3 (2012-03-17 12:30:18)
Offline
when I receivemuppetds in jail ▼sayset him free!!!for3secssetmuppetds ▼tofreedomdestroyeverything involved with muppetds going to jail xP ▼rebuildeverything involved with muppetds escaping ▼
Offline
Splodgey wrote:
People could just click preview to test around, but this will be good for the people who didn't think about that.
That's what i do, the preview thing. that way i don't get embaressed by doing a fail scratchblock attempt.
Offline
AgentRoop wrote:
Splodgey wrote:
People could just click preview to test around, but this will be good for the people who didn't think about that.
That's what i do, the preview thing. that way i don't get embaressed by doing a fail scratchblock attempt.
when i receiveAgentRoop posted ▼sayYour lucky I can't be bothered to write an arresting script.for2secssayIt is now a criminal offence not to speak in scratchblocks in this thread.for3secs
Offline
when I receivepeace talks ▼sayWhat are we going to talk about?for5secs
Last edited by a1130 (2012-03-19 15:41:31)
Offline
a1130 wrote:
when I receivepeace talks ▼sayWhat are we going to talk about?for5secs
when I receivepeace talks ▼listen toa1130 ▼shrug ▼for0.5secsbroadcastrespond ▼
Offline
When I receiveTEH FOOD IS READY ▼sayomnomnomnomnomnombroadcasteat ▼
Offline
funelephant wrote:
When I receiveTEH FOOD IS READY ▼sayomnomnomnomnomnombroadcasteat ▼
size of mealwhen i receiveeat ▼size of meal is 400 (g)pull outchair ▼sit onchair ▼grabcutlery ▼repeat untilsize of meal=0eat a bit of foodchangesize of meal ▼by-1changeWeightby1iftaste buds want more?sayYum!elsesayeeewww!ifWeight>*Height/31000not precise... Height in cmsetHealth of Weight ▼toOverweightgotooutside ▼repeat untilWeight<*Height/3.51000run aroundelseifWeight>setHealth of Weight ▼toUnderweightbroadcastmake food ▼when i receivemake food ▼repeat untilsize of meal>pick random399topick random600to1200grabingredients ▼changesize of meal ▼by1broadcastTEH FOOD IS READY ▼
Last edited by Splodgey (2012-03-20 07:44:09)
Offline
mikemm27 wrote:
Just to try
glidesecs to x:bdis/bspy:x position-5*x position ▼ofSprite1 ▼5waitwtsecsifa>10go to x:XXy:3elsepoint in direction90
scriptsfixed ▼bySplodgey ▼
Last edited by Splodgey (2012-03-21 06:35:05)
Offline
Thank you for your corrections.
One more question: apart from the Preview feature of this
form, how is it possible to check the correctness of a scratchblock
script? Is any off-line syntax checker available, or a similar feature?
Greetings, mike.
Splodgey wrote:
mikemm27 wrote:
Just to try
glidesecs to x:bdis/bspy:x position-5*x position ▼ofSprite1 ▼5waitwtsecsifa>10go to x:XXy:3elsepoint in direction90scriptsfixed ▼bySplodgey ▼
Offline
Again help, please.
How can I obtain the correct sensing command "<x,y position> of <sprite>" when theglide2secs to x:y:x position ▼ofspriteNamey position ▼of(spriteName) ▼
Offline
Splodgey wrote:
rdococ wrote:
Splodgey wrote:
when i receive:/ ▼sayThat's not talking - don't bother, police... : /when i receiveweapons deployed ▼sigh deeply ▼for6secsdestroyall ▼weapons ▼startpeace talks ▼when I receivepeace talks ▼sayWait... I don't understand what you mean by destroy [all v] [weapons v]...]
when i receive [peace talks v]
listen to [rdococ v]
say [I destroyed all the weapons.]
ask [What is there not to understand?] and wait
say [argh! Le bug!]
when I receiveWhat is there not to understand? ▼askWell, who's weapons was destroyed? :Pand waitsayWait, the bug is that the scratchblocks end tag isn't there!
Last edited by rdococ (2012-03-21 11:54:20)
Offline
coolhogs wrote:
CoolhogsMaking Projects since 2011
SplodgeyScratching since 2010look to your left. I'm Confused... :S
Offline
Splodgey wrote:
coolhogs wrote:
CoolhogsMaking Projects since 2011SplodgeyScratching since 2010look to your left. I'm Confused... :S
askPlease answer my question, in the last post I posted.and waitsayNo, you didn't end the ScratchBlocks syntax...forsecsatleastyears to seconds9000years
Last edited by rdococ (2012-03-21 11:52:53)
Offline
rdococ wrote:
Splodgey wrote:
rdococ wrote:
when I receivepeace talks ▼sayWait... I don't understand what you mean by destroy [all v] [weapons v]...]/scratchblockwhen i receivepeace talks ▼listen tordococ ▼sayI destroyed all the weapons.askWhat is there not to understand?and waitsayargh! Le bug!/quotewhen I receiveWhat is there not to understand? ▼askWell, who's weapons was destroyed? :Pand wait
when i receiverdococ's post ▼sayRead the post I quoted? That might help...
Offline
Splodgey wrote:
rdococ wrote:
Splodgey wrote:
when i receive [peace talks v]
listen to [rdococ v]
say [I destroyed all the weapons.]
ask [What is there not to understand?] and wait
say [argh! Le bug!]when I receiveWhat is there not to understand? ▼askWell, who's weapons was destroyed? :Pand waitwhen i receiverdococ's post ▼sayRead the post I quoted? That might help...
when I receiveWhat is there not to understand? ▼askThat doesn't say who's weapons got destroyed.and wait
Offline
rdococ wrote:
Splodgey wrote:
coolhogs wrote:
CoolhogsMaking Projects since 2011SplodgeyScratching since 2010look to your left. I'm Confused... :SaskPlease answer my question, in the last post I posted.and waitsayNo, you didn't end the ScratchBlocks syntax...forsecsatleastyears to seconds9000years
when i receiveimpatience... ▼sayYou posted halfway through me posting (posting from the Wii)sayand I'm pretty sure I did end the syntax... I recall editing it to end it...
Last edited by Splodgey (2012-03-21 12:59:20)
Offline