I’m looking to add the same thing however using a command that only a mod can use.
The only thing I can find in the code is this in the JS
story = $.randElement(temp);
} while (story == lastStory && stories.length != 1);
Which chooses a random element in the array of stories I think? But I can’t find out how to specify the number via chat command unfortunately. Even manually editing randElement to be a number or temp to be a number seems to break the code.
EDIT: I have a rough working version now… I will post in the custom modules forum this week once I have tested it a bit more.