Board Thread:General Discussion/@comment-24473195-20140928214912/@comment-24473195-20140929171216

452 wrote: Regarding the API, you may find it simpler to create the game as a trigger script, where someone says "!trivia" which triggers your script to say a question.

I don't think this form of data transfer would be any more "unsolicited" than if you were manually saying the questions.

Regarding the opt-out, you could add a script to allow users to automatically ignore/hide all lines starting with !trivia and [Trivia] (Assuming your automated response starts with [Trivia])

All of this is possible by using the chathacks and chatoptions scripts as examples, but it is a little complicated, so it depends how limited your knowledge of javascript is. I've learnt  C++ formally, and I know java,  lua scripts, so it isn't that hard. It wouldn't be for example that hard to create this this. I could probably create that using the regular javascripts, but I'm just not sure how this would fit in with chatroom as it uses other unusual API.

For now, I could easily mod this script (http://dev.wikia.com/wiki/Quiz) to create a trivia or jumbles (anagram). But integrating it into chat would turn it into a multiplayer experience. That's the only challenge.

I also planned on using a !trigger (!trivia or !jumbles) to join the "game" and only send the messages to the participants. So it would never bother those who don't want it.