crowbartools / Firebot

A powerful all-in-one bot for Twitch streamers
https://firebot.app
GNU General Public License v3.0
342 stars 91 forks source link

[Feature Request] Add a Random Round Robin Functionality to Media Based Alerts #2571

Open ocarinaoftom opened 2 months ago

ocarinaoftom commented 2 months ago

Describe the solution you'd like Today if I have alerts set up to pull a random audio or video file from a folder, there is a chance that the same file will be chosen repeatedly, with that chance obviously being bigger the fewer alerts I have in said folder. What I am requesting is an addition to the random selection functionality wherein it will still choose a file at random but will not repeat that selection until every file in the folder has been chosen.

Ex: The folder has 3 files. The first alert randomly chooses file 2. The next alert is prevented from choosing file 2 again until file 1 and file 3 have been selected.

dennisrijsdijk commented 2 months ago

Hey Tom, a community member has already made a random media script/plugin that I think accomplishes what you're looking for.

Plugin Repository Plugin Discord Thread (join crowbartools discord first)