Author Topic: [Resolved] Custom Quizzes for Event Managers  (Read 961 times)

Mikkel

  • Guest
[Resolved] Custom Quizzes for Event Managers
« on: 01 01, 2013, 02:37:07 am »
So, today, I decided to have some sort of small new year event, because I was bored.
Some staff was up for it, and it went well.
Currently we have /quiz, which gives you some questions and money and such.
However, I'd love some sort of custom quizzes.
So basically event managers are able to create 1 question using a gui and the first one answering perhabs.. /answer question here, wins the price.
So, basically:
The GUI should have:
Question:
Answer:
Price:
Time To Answer:
Answers:

That GUI could uhm.. Maybe be as /customquiz
Then when you click "Ask Question!" it would output in mainchat as Event Chat (so that people still can muting)

An example:
EventManager does: /customquiz
*GUI Opens*
--[[GUI inputs
Question: What does CIT stand for?
Answer: Community of Integrity and Transparency
Price: 20000
Time To Answer In Seconds: 15
Answers: 2
]]--
Event Manager clicks "Ask Question!"
Script outputs in eventnote: What does CIT stand for? Use "/answer answer here" to answer! Price: 20000$ (15 seconds to answer)
Player1 does: /answer Community of Integrity and Transparency
Player1 recieves a message only for him saying: Congratulations, you won! Here's your 20000$ :-)
Player2 does: /answer Community of Integrity and Transparency
Player2 recieves a message only for him saying: Congratulations, you won! Here's your 20000$ :-)
Script outputs in eventnote: Player1 and Player2 won! The correct answer was: answer here
Player3 does: /answer Community of Integrity and Transparency
Player3 recieves a message saying: Sorry, someone answered before you.
OR
Player3 recieves a message saying: Sorry, there's no question to answer at this time.

I hope that was understandable, and I hope to see this getting scripted :p I'm not the only one who wants it <3

EDIT:
Also, I forgot..
Limits!
Make price limit 25k or something per question :p Just incase some EM makes a typo and e.g. gives 200k for one question, or something.. Well, yeah..
« Last Edit: 23 02, 2013, 08:33:05 pm by Cheeze »

reduxo

  • Guest
Re: Custom Quizzes for Event Managers
« Reply #1 on: 01 01, 2013, 02:41:55 am »
Could be cool, but hopefully no one does unanswerable questions / one's only friends would know.

Offline Som3a

  • Outstanding Community Member
  • *****
  • Posts: 97
  • On a whole other level
  • Registered: 01/09/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • Group: San Andreas Pol
  • Ingame: Som3a
Re: Custom Quizzes for Event Managers
« Reply #2 on: 01 01, 2013, 12:20:21 pm »
It's a great idea, but would the players have to answer in the same way as written in the "answer" part in the GUI? Or would make an easier script that gets what's close to the "answer" in the GUI?
  • Honorable
  • Chief of SAPD
  • Ex Event Manager
  • Ex Chief of Police
  • Ex L3. / L1. Staff
  • Ex PFC of the Armed Forces
  • Gentleman by day, Philosopher by night, Pervert by choice, Rebel by fate.

Offline Nvreformat

  • Honorable
  • *****
  • Posts: 19
  • Registered: 19/09/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Custom Quizzes for Event Managers
« Reply #3 on: 20 02, 2013, 07:10:07 am »
Well I made this long time ago so I think this can be locked