Discuss Scratch

scrooge200
Scratcher
1000+ posts

Picking a random item from a list?

I'm making a name generator using lists, and I want it to pick a random item from each list. What is the fastest way to do this?
powercon5
Scratcher
1000+ posts

Picking a random item from a list?

(item ((pick random (1) to (length of [list v])) v) of [list  v])
DanloVorje
Scratcher
100+ posts

Picking a random item from a list?

If you select the dropdown menu in the “item (v) of list” block", you can select:
(item (random v) of [list  v])

–Danlo

Powered by DjangoBB