Custom scripts I believe. There is a randomizer event add-on that you can use.
nah theres an event for it, search for it OP
There is a randomizer event add-on that you can use.