So, I'm absolute sugar honey iced tea when it comes to JS. I just need some help with this, please.
I want a script to run when a timer calls !petals as a command.
It will roll five dice and show the individual values.
It will then scrap all even values, then subtract one from each odd value.
Users will then guess the sum of this new set of values. Possible answers should be exclusive to even numbers from 0 through 20.
Users' guess input should use !guess
After a short timer (I'm thinking 60 seconds) the correct answer should be revealed and correct users should be awarded an arbitrary amount of currency.
I've built this in C# as a console app, and these are essentially the steps I have used for that version. LMK if you'd like to see that code for reference. Big thanks to anyone and everyone who tries to help.
I can't upload a file with the code because I'm new here. The C# code will be in the 4th reply below.