#(aviside) how to make a data list rotate between lines instead of randomly select?
15 messages · Page 1 of 1 (latest)
(aviside) how to make a data list rotate between lines instead of randomly select?
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
multiple ways to approach this
the one i think is the easiest is probably make main list of dialogues
lets say list [hi, hello, sup]
then create a copy of this list
and choose random entry from that copy and remvoe it
once the list is empty refill the copy from original
or could map dialogue to times of it being used
and always choose the one with least usage
if equal choose randomly
I'd probably just store all the options in a data script, then load them with a .random[999] on startup and interate through the list directly, reloading when index is the size of the list
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@pseudo burrow