Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » On Going Count Thing
- -RocketStudios-
- Scratcher
8 posts
On Going Count Thing
Nevermind I fixed it!
set [Point# v] to [1]
set [ store2 v] to []
repeat (length of (store v))
set [store2 v] to []
repeat until <(letter (Point# v) of [store v]) = [,]>
set [store2 v] to (join [store2 v] (letter (Point#v) of [store v]))
change [Point# v] by (1)
end
add [store2 v] to [PointsX v]
change (Point# v) by (1)
end
Last edited by -RocketStudios- (Aug. 1, 2021 11:30:22)
- PraCoco
- Scratcher
1000+ posts
On Going Count Thing
Maybe just use a workaround for “WHEN STOP CLICKED” and then just say stop when that happens? Ok so when your making a pen recorder you want to keep track of three things: MouseX, MouseY, MouseDown! Now imagine trying to save the latest art piece in cloud this is what I did! And I am proud, but there is one problem. There is a var that counts chars and this var, when the script is supposed to stop it keep counting this is a model of it.set [Point# v] to [1]set [ store2 v] to []repeat (length of (store v))
set [store2 v] to []
repeat until <(letter (Point# v) of [store v]) = [,]>
set [store2 v] to (join [store2 v] (letter (Point#v) of [store v]))
change [Point# v] by (1)
end
add [store2 v] to [PointsX v]
change (Point# v) by (1)
end
vi/ray/ana | she/her | 15 | artist/coder | sagittarius | chocoholic | potterhead | gryffindor | nerd
- -RocketStudios-
- Scratcher
8 posts
On Going Count Thing
No cuz it has to calculate other things after
- Discussion Forums
- » Help with Scripts
- » On Going Count Thing