- participants are now stored in a map
- part of the score calculations are now handled on answer, rather than
all of them being done when the answering period ends
- the responders object has been removed in favour of storing more
information in participants
- /trivia qs with no argument returns question statistics
- some slight optimizations in the question commands
- /trivia help is now less verbose
- the code is now much more legible
well, ``lotto`` is a command, so it makes sense that ``join`` and ``leave`` have ``joinlotto`` and ``leavelotto`` as aliases in addition to ``joinlottery`` and ``leavelottery``.
Users weren't able to guess more than once in a question giveaway because their current name was in their list of previous names.
http://prntscr.com/6c5r4p
Added a line of code to fix that problem. Thanks to Cranham (and maybe a few others too) for pointing this out originally, btw.
The plugin can now manage nominations on its own instead of not doing
much more than broadcasting HTML, and the Artist of the Day survives
hotpatching and server restarts.
following morfents commit but updating it for the wi-fi plugin aswell, to avoid issues after hotpatching
Wi-fi Plugin: Finish Exporting states
Wi-fi Plugin: Finish Exporting states
Fix build errors
Wi-fi Plugin: Finish Exporting states
Fix massive style errors I made with indentation
(Scavengers variables) --> Rooms.get('scavengers').plugin
Jeopardy jeopardies --> Rooms.get('academics').plugin.jeopardies
The The Happy Place plugin now saves the quote of the day in
Rooms.get('thehappyplace').chatRoomData.
Export triviaData, writeTriviaData, and trivia to a cache in the Trivia and
Question Workshop room objects, if they exist, and if they have already been
exported (i.e. /hotpatch chat reloaded the plugin), reassign their cached
values so games are no longer broken.
...over using an unreliable singleton to handle them.
Export triviaData to CommandParser imstead of the trivia room when the
first Trivia instance is created.
Increase the answer field limit for answers; does not break the answer mechanics when I tested, also increasing the number of winners in lottos from 5 to 10. After a few days of having the script in the chat I feel these changes would be more suitable for it.
Wifi Plugin: Bug fixes aswell
fixing a issue of /giveaway end returning the 'access denied message' but still ending the giveaway
Wifi Plugin: Bug fixes aswell
Fixed /giveaway end from returning access denied message when it actually goes ahead with force ending
Allows global staff have the ability to use the script in the room; if they wish to do so, any % or higher should have the ability to start a giveaway. Furthermore updating help commands to make them more convenient to type and use.
Wifi Plugin: Global staff giveaways + help
Wifi Plugin: Global staff giveaways + help
Codelegend's previous commit broke one of the commands when tested, making the /ga command unreconized when trying to answer a question, This commit fixes that
Wifi Plugin: Fixing a command
...which would've ruined participants' leaderboard rankings, stop
binding the Trivia object's context to timeouts now that they're no
longer needed, make question database commands exclusive to Question
Workshop
Fix number and timer modes' question timeouts looping until no questions
are left, refactor Trivia object to only make methods the commands use
public, optimize /triviaaccept and /triviareject