Valhalla Legends Forums Archive | Spht's Forum | TriviaBot.bcp

AuthorMessageTime
Spht
I wrote a trivia bot plugin for SphtBotv3 (and bots that support BinaryChat plugins)

Quick feature list:

- awards points based on how fast question was answered
- additional 1 point is given if user has made streak of 5 or more.  streak is interrupted by someone else answering, or time out
- supports ranks 1 to 5.  bot shows ranks after there are at least 5 people with at least a score of 10
- bot whispers score when a user with at least a score of 1 says 'score' in the channel.  this command can only be used once per minute per user to prevent abuse
- score file is updated every time someone answers a question to ensure no loss of scores
- commands /trivia on (to activate trivia forever), and /trivia off (to deactivate trivia)
- command /trivia auto to have trivia automatically activate itself if 'trivia' is said in channel, and deactivates itself when it intelligently determines no one is playing

Mainly just made it because I enjoy some of the trivia channels once and awhile, and decided to write an automated one for Clan Spht.  It can easily support a database with hundreds of thousands of questions.  Any interest in this for me to make it public?
April 28, 2007, 4:01 PM
MyStiCaL
well as you know alot of people stilll go on about other trivia bots, this would probley definity make your bot one of the most used by i dunno say everyone, since 80% of battle.net enjoys trivia channels,

so in other words why shouldn't it be public?
April 28, 2007, 4:14 PM
Trance
Curious, would this plugin be usable with a *certain* moderator bot?

Oh and nooooo! Don't do it!!
April 29, 2007, 5:39 AM
KrewL RaiN
omg, the evil trivia bots powers have been reviled o.o

I really like that auto turn off feature if people are not playing it
April 29, 2007, 6:23 PM
rabbit
[quote author=Trance link=topic=16654.msg168544#msg168544 date=1177825141]
Curious, would this plugin be usable with a *certain* moderator bot?

Oh and nooooo! Don't do it!!
[/quote]What the fuck?  A fun bot and a moderation bot should [size=90pt]NEVER[/size] be mixed.
April 29, 2007, 8:34 PM
Spht
I like how I put it

[color=#FFFFFF][03:15:09] <[/color][color=#32FF96]Trance.de@USWest[/color][color=#FFFFFF]> https://davnit.net/bnet/vL/index.php?topic=16654.0
[03:15:16] <[/color][color=#32FF96]Trance.de@USWest[/color][color=#FFFFFF]> posted question about trivia
[03:15:31] <[/color][color=#50E6DC]Spht[/color][color=#FFFFFF]> thx for the support
[03:15:42] <[/color][color=#32FF96]Trance.de@USWest[/color][color=#FFFFFF]> :P it's so evillll
[03:16:01] <[/color][color=#50E6DC]Spht[/color][color=#FFFFFF]> and having op bot host trivia is not something i had planned, nor recommend
[03:16:27] <[/color][color=#32FF96]Trance.de@USWest[/color][color=#FFFFFF]> *shrug* would kill two birds with one stone
[03:16:36] <[/color][color=#50E6DC]Spht[/color][color=#FFFFFF]> but that's up to whoever's hosting it..
[03:16:52] <[/color][color=#32FF96]Trance.de@USWest[/color][color=#FFFFFF]> so would work? what about flood protection?
[03:17:02] <[/color][color=#50E6DC]Spht[/color][color=#FFFFFF]> yes.  the two brids being moderation and trivia, and the stone being stupitiy
[03:17:52] <[/color][color=#50E6DC]Spht[/color][color=#FFFFFF]> yes, but do you really want the entire queue taken up by trivia, when the real priority should be to safeguard a channel?
[03:18:28] <[/color][color=#50E6DC]Spht[/color][color=#FFFFFF]> because trivia would automatically become main priority if you loaded it on a modbot
[03:18:49] <[/color][color=#50E6DC]Spht[/color][color=#FFFFFF]> dedicated bot profile for trivia is most logical method[/color]
April 29, 2007, 9:08 PM
warz
no interest.
April 29, 2007, 9:43 PM
UserLoser
[quote author=rabbit link=topic=16654.msg168573#msg168573 date=1177878846]
[quote author=Trance link=topic=16654.msg168544#msg168544 date=1177825141]
Curious, would this plugin be usable with a *certain* moderator bot?

Oh and nooooo! Don't do it!!
[/quote]What the fuck?  A fun bot and a moderation bot should [size=90pt]NEVER[/size] be mixed.
[/quote]

Don't mean to bash anyone, but why was/is StealthBot so popular then?
April 30, 2007, 12:04 AM
rabbit
Because people are stupid.
April 30, 2007, 1:34 AM
JoeTheOdd
Because Stealthbot is a chatbot. It's a sorry excuse for an automoderation bot, honestly. If I remember correctly, JavaOp performed better than it. And it's in Java..
May 13, 2007, 9:10 AM
Spht
Additional features:

- now assigns rank to every user in the database, and bot's profile is (optionally) automatically updated with top 10 ranks
- having score of 1 or more allows user to access remote bot commands .score (user) and .rank (#) (can only be used in 20 second increments)
- Hints always reveal characters that are not a-z or 0-9, and those characters are ignored when accepting answers (so sarahspajamas?!! is an accepted answer for Sarah's Pajamas)

TriviaBot in action
May 27, 2007, 3:54 AM
KrewL RaiN
Nuuu it mocks me a second time in eternal gif form xD
May 28, 2007, 3:09 AM
Spht
Additional features:

- now awards points based on how fast question was answered as well as amount of active players in channel (active player is someone who's answered question in past 10 minutes)
- bot's trigger is configurable via config file, and bot will respond to ?trigger query once per minute with trigger and brief command help
- access database is integrated with scores database.  by default users get access of 1 after they answer their first question, which lets them use score and rank commands.  access 2 can use skip to skip the current question
- reminds channel of rank #1 player(s) every 4 hours while trivia is active
- players with same score intentionally get same rank and preceding ranks become vacant (ie, if bill, john and mary have leading score of 100 (rank #1), ranks 2 and 3 will be vacant and the next highest score will be rank #4)
- when using the command rank on tied ranks, two player names are shown followed by the amount of additional ties if applicable
June 3, 2007, 7:51 PM
Spht
Download

I've been hosting Op Trivia247 on USEast for the past few months, and it quickly became the most popular trivia channel on Battle.net

As I type this, there are 25 people in the channel, and on average 800 unique players per month

I'm no longer going to be hosting trivia after the end of this month, so I'm releasing the plugin so that others can host their own trivia channels

I've included 1% of the questions from my database to get you started
November 29, 2007, 5:43 PM

Search