How can I "assemble" scripts in the program?

Example:
[scratchblocks]
script variables((a)::grey) @addInput::grey
[/scratchblocks]

and

[scratchblocks]
set [a v] to [hello!]
[/scratchblocks]

to

[scratchblocks]
script variables((a)::grey) @addInput::grey
set [a v] to [hello!]
[/scratchblocks]

in cases where you don't want the variables to carry over, you could just make a ring that calls the other two rings.
in this case though, you're using variables across the two scripts, so you want metaprogramming.

here you can SPLIT both by blocks, then JOIN them (both blocks are in operators). i think in some cases you need to append them instead, or do other things.

i'd suggest splitting all 3 of those by blocks and see how they look to get a feel for it.

note that since script 2 is already in a ring, you could also just add a as a parameter to the ring instead.

that's really easy

To stack blocks, just stick each block in its own list.

what?

or you can drag blocks on top of each other?

am i missing something?

i don't mean this in a rude way but do you really think that's what they're asking how to do

I meant like with a script.

yes? i dont know?

oh

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.