Trivia
mIRC Code
+ 4 likes
Please Register to submit score.
| Average Score | 9.0 |
| Scores Submitted | 13 |
| Date Added | Jul 19, 2007 |
| Last Updated | Jul 09, 2008 |
| Tags | answer hint mountaindew new question snippet start stop ten top top10 topten trivia wrong |
|
|
Introduction
~*~*~ReadMe~*~*~
*Open mIRC
*Go to remotes, alt+r, and paste the script
*Enter the owner and channel when it asks you
*Dialog will pop up on load
*Go to questions tab and add questions
*To open the dialog in the future, right click anywhere � Trivia OR type /trivia
�Trivia Commands�
*!trivia ~ Starts Trivia
*!strivia ~ Stops Trivia (all, op, or voice)
*!report <ques> ~ Reports Question
*!score ~ Returns your rank and score
*!score <nick> ~ Returns someone's rank and score
*!trivhelp ~ Returns Trivia commands
*!questions ~ Returns number of trivia questions
*!give <nick> <points> ~ Gives someone points (owner)
*!top10 ~ Returns top 10 scores
�Trivia Dialog�
*Settings
*Stop after N questions
*Privledge for !strivia command
*Start/Stop Trivia
*Set Owner
*Set Channel
*Add missed question response
*Reports
*View Reported Questions
*Fix Reported Questions
*Remove Reported Question
*Clear All Reported Questions
*View whats wrong w/ reported question
*Questions
*View all questions
*Add a question
*Remove a question
*Clear All Questions
*Edit question, hint1, hint2, and answer of a question
*Add a txt file full of questions in question|answer format or question|hint1|hint2|answer format
*Scores
*View all scores
*Add Score
*Remove Score
*Edit Someone's Score
*Clear all scores
When someone gets the answer, it will say the time, rank, score,
answer, streak, and person behind you/in front of you's rank and score
Ex:
<Terrance> You got it mountaindew! The answer was sais! You got it in 2.609 seconds! Your streak is 3 question!
<Terrance> You are ranked 2nd out of 3 with 501 points! You are behind thrall with 560 points!
OR
<Terrance> Wahoo thrall! The answer was seventy-two! You got it in 17.359 seconds! Your streak is 2 questions!
<Terrance> You are ranked 1st out of 3 with 561 points! mountaindew is trailing behind you with 501 points!
Also, the on text's interact with the dialog. So if you type !give mountaindew 20, and the points tab is up with mountaindew's score, it will edit the dialog! Same goes with the !trivia and !strivia, it will enable/disable the start/stop trivia buttons. :)
Here's some screens of the dialog:

Thanks for using my trivia script!
Let me know of any problems/comments/suggestions
�~� MountainDew �~�
mIRC Snippet:
Trivia
Posted on Jul 19, 2007 10:11 pm
Posted on Jul 19, 2007 10:11 pm
Very Very Nice Script 7/10
Umm Like I Made This One One Time Similar To Urs But I Made A !give <nick> <points> Becouse I Thought It Would Be An Original Or Not Done Very Much Thing Turns Out I Was Right I Like The Thought Points Needed For Op Idea Keep Up The Good Work And Add Me As A Friend Please.
Umm Like I Made This One One Time Similar To Urs But I Made A !give <nick> <points> Becouse I Thought It Would Be An Original Or Not Done Very Much Thing Turns Out I Was Right I Like The Thought Points Needed For Op Idea Keep Up The Good Work And Add Me As A Friend Please.
mIRC Snippet:
Trivia
Posted on Aug 16, 2007 1:51 pm
Posted on Aug 16, 2007 1:51 pm
Hello, new to this but I figured this would be the spot to ask about a certain type of trivia or poll script im looking for.
What I basically need to do is create a 'Fighter' poll...
'Who will win this fight, Mike Tyson or Evander Holyfield?'
!1 for Tyson !2 for Holyfield
Then I would like to collect votes from the time the poll starts until the time the fight begins.
Stop voting. Then submit the winner of the match when the fight is over. With the winners being shown who guessed correctly.
Is this to complicated? Or is there a scrip that already does this? Any help would be appreciated!
What I basically need to do is create a 'Fighter' poll...
'Who will win this fight, Mike Tyson or Evander Holyfield?'
!1 for Tyson !2 for Holyfield
Then I would like to collect votes from the time the poll starts until the time the fight begins.
Stop voting. Then submit the winner of the match when the fight is over. With the winners being shown who guessed correctly.
Is this to complicated? Or is there a scrip that already does this? Any help would be appreciated!
mIRC Snippet:
Trivia
Posted on Aug 16, 2007 1:54 pm
Posted on Aug 16, 2007 1:54 pm
@ matmaniac, poll scripts have been done before. Do a search on the forums or in the snippets section (the search function is above) OR use google. ;)
If you have a request, post your topic in the mIRC Snippet Requests Forum ( http://www.hawkee.com/phpBB2/viewforum.php?f=9 ).
If you have a request, post your topic in the mIRC Snippet Requests Forum ( http://www.hawkee.com/phpBB2/viewforum.php?f=9 ).
mIRC Snippet:
Trivia
Posted on Aug 16, 2007 4:01 pm
Posted on Aug 16, 2007 4:01 pm
matmaniac, why are you asking this in comments on a snippet? like xdaemon said, go to the forum, that's what it's for. :P
mIRC Snippet:
Trivia
Posted on Aug 16, 2007 6:24 pm
Posted on Aug 16, 2007 6:24 pm
then post in the forum
mIRC Snippet:
Trivia
Posted on Sep 1, 2007 12:17 am
Posted on Sep 1, 2007 12:17 am
Thank you very much, im glad you liked it!
mIRC Snippet:
Trivia
Posted on Sep 5, 2007 8:53 pm
Posted on Sep 5, 2007 8:53 pm
someone plz rate it :P
mIRC Snippet:
Trivia
Posted on Oct 6, 2007 9:14 pm
Posted on Oct 6, 2007 9:14 pm
I wish it can be voice and halfop but not just op.
mIRC Snippet:
Trivia
Posted on Oct 6, 2007 11:01 pm
Posted on Oct 6, 2007 11:01 pm
yea, i guess thats a good idea. im on my psp now, so ill update it tomorrow probably. i was thinkin today, this was my first big script, and the coding absolutely sux, and it needs a complete makeover, so ill like improve everything within the next few days.
mIRC Snippet:
Trivia
Posted on Oct 17, 2007 3:15 pm
Posted on Oct 17, 2007 3:15 pm
i am finally gonna start recoding this, im like half way done, everythings gonna be in an .ini and its gonna be more feature and probably a dialog :)
mIRC Snippet:
Trivia
Posted on Oct 19, 2007 5:47 pm
Posted on Oct 19, 2007 5:47 pm
i recoded the whole thing, its in hash table form now
pretty soon ill have a dialog where u can add questions, remove questions, add wrong responses, possibly even time between hints, privlidge for !strivia, stop after N questions, change scores, view/add/clear reports, view/add/clear scores, set multiple owners
i have a lot of work ahead of me :)
pretty soon ill have a dialog where u can add questions, remove questions, add wrong responses, possibly even time between hints, privlidge for !strivia, stop after N questions, change scores, view/add/clear reports, view/add/clear scores, set multiple owners
i have a lot of work ahead of me :)
mIRC Snippet:
Trivia
Posted on Oct 26, 2007 4:46 pm
Posted on Oct 26, 2007 4:46 pm
i asked hawkee to remove this, and hopefully itll be in the addon section soon :)
i finally finished the dialog :P
i finally finished the dialog :P
mIRC Snippet:
Trivia
Posted on Nov 1, 2007 2:49 pm
Posted on Nov 1, 2007 2:49 pm
well i want hawkee to delete this and put the real thing in addons...
mIRC Snippet:
Trivia
Posted on Nov 5, 2007 8:59 am
Posted on Nov 5, 2007 8:59 am
i just put the whole thing here, enjoy...
mIRC Snippet:
Trivia
Posted on Nov 5, 2007 9:04 am
Posted on Nov 5, 2007 9:04 am
Abbas, now u can just type /trivia and go to questions, and either convert a txt file full of questions into the hash table, or click the add button to add ur own question, hints, and answer.
mIRC Snippet:
Trivia
Posted on Nov 8, 2007 11:05 am
Posted on Nov 8, 2007 11:05 am
I give you TEN score, but could you explain more again about convert a txt file full of questions into the hash table ?. Im still confused did you mean scrambel.txt or any else. And what shoul i type in txt file (question, hints, and answer), please mountaindrew help me :))) jiakakakakakakakak
mIRC Snippet:
Trivia
Posted on Nov 8, 2007 1:54 pm
Posted on Nov 8, 2007 1:54 pm
erma, i made a feature, that if u already have a txt file full of questions, it converts it all into hash table so u dont have to add each one with the add button
so if u already have questions or want to add mass questions from online or sumthin, the file must be set up like
question|hint1|hint2|answer
OR
question.hint`.hint2.answer
it duznt matter what delimeter, but must be question, then hint one, then hint two, then answer. so u click convert, then type in the txt file. ex: questions.txt or something. then you type the delimeter's ascii code, (symbol that seperates question, hint, hint, and aswer) if u did the first, it would be 124. if u dont know the ascii code for the delimeter, type //echo -a $asc(|) or w/e the delimeter is
and if u wanna add just one question at a time, click add, and fill in the input boxes
i hope this helps :)
so if u already have questions or want to add mass questions from online or sumthin, the file must be set up like
question|hint1|hint2|answer
OR
question.hint`.hint2.answer
it duznt matter what delimeter, but must be question, then hint one, then hint two, then answer. so u click convert, then type in the txt file. ex: questions.txt or something. then you type the delimeter's ascii code, (symbol that seperates question, hint, hint, and aswer) if u did the first, it would be 124. if u dont know the ascii code for the delimeter, type //echo -a $asc(|) or w/e the delimeter is
and if u wanna add just one question at a time, click add, and fill in the input boxes
i hope this helps :)
mIRC Snippet:
Trivia
Posted on Nov 8, 2007 1:56 pm
Posted on Nov 8, 2007 1:56 pm
and scramble.txt isnt in my code, thats just somethin someone made a while back, and it was based on the old trivia i had
mIRC Snippet:
Trivia
Posted on Nov 23, 2007 1:39 pm
Posted on Nov 23, 2007 1:39 pm
you should make it so u can jsut add a txt file of questions and it wil automaticly read form the file and do the hints itsefl instead of ppl having to add questions their own hints and own answers is way too much work for ppl who dont' know how to do it.... jsut a friendly help. try checking out the trivia snippet on here that has thatin there... its a good lookin snippet but thats the only problem...
mIRC Snippet:
Trivia
Posted on Nov 24, 2007 9:04 am
Posted on Nov 24, 2007 9:04 am
yea i was thinkin about that, thanks for the suggestion, i think someday ill try doin that
they would need question and answer, cuz the hints come from the answers :P
| Quote: |
you should make it so u can jsut add a txt file of questions |
they would need question and answer, cuz the hints come from the answers :P
mIRC Snippet:
Trivia
Posted on Nov 24, 2007 9:42 pm
Posted on Nov 24, 2007 9:42 pm
well if you think abotu it... i downloaded a txt file with question*answer format.... so if i wanted to use ur snippet liek i wanted to... id have to re-write 10,000 questions hint 1 hint 2 and answers jsut to use ur script.... and u can find those text files with questions and answers everywhere... thats y i said to take a look cuz it generates hints from the answers automaticly.. just yet another suggjestion....
mIRC Snippet:
Trivia
Posted on Dec 4, 2007 3:42 pm
Posted on Dec 4, 2007 3:42 pm
BlackDemon^, i just spent five minutes and made a simple alias to make the format you needed, i didnt think it would be that simple :P
so i just have to integrate it into the dialog. when u click convert, its gonna ask u whether its in ques|hint|hint|answer or ques|ans form.
so it should be done soon, thanks for u suggestion
so i just have to integrate it into the dialog. when u click convert, its gonna ask u whether its in ques|hint|hint|answer or ques|ans form.
so it should be done soon, thanks for u suggestion
mIRC Snippet:
Trivia
Posted on Dec 4, 2007 3:45 pm
Posted on Dec 4, 2007 3:45 pm
You need more work on the dialog, the design looks terrible and there is plenty off room left for more options. You should work on the bottons and the boxes, cuz there's a bit more space to the right then to the left and its nice to see a few more options.
i got to tell you im not a big fan of your coding style, using capitals when not needed is well.. just annoying....
i got to tell you im not a big fan of your coding style, using capitals when not needed is well.. just annoying....
mIRC Snippet:
Trivia
Posted on Dec 4, 2007 4:40 pm
Posted on Dec 4, 2007 4:40 pm
well sorry u dont like it, but what r u talking about with the capitals?
mIRC Snippet:
Trivia
Posted on Dec 4, 2007 4:50 pm
Posted on Dec 4, 2007 4:50 pm
blackdemon^, i actually screwed up, i forgot to make the first hint, but thatll be easy, but i have a lot of work to do so ill probably have it done within a few days
mIRC Snippet:
Trivia
Posted on Dec 10, 2007 2:12 pm
Posted on Dec 10, 2007 2:12 pm
well this stores questions in hash table form :/
but i guess you could do like
Syntax: /viewtxt
It will list all the questions like this:
QuestionHint1Hint2Answer
This is a questionthis is a hintanother hintthe answer
Hope that answers your question, and i'm glad you like it :)
but i guess you could do like
| Code: |
alias viewtxt { var %x = 1 while $hget(questions,%x) write view_in_txt.txt $v1 inc %x } run view_in_txt.txt remove view_in_txt.txt } |
Syntax: /viewtxt
It will list all the questions like this:
QuestionHint1Hint2Answer
This is a questionthis is a hintanother hintthe answer
Hope that answers your question, and i'm glad you like it :)
mIRC Snippet:
Trivia
Posted on Dec 24, 2007 5:54 pm
Posted on Dec 24, 2007 5:54 pm
your welcome for the suggjestions.... let me know when u have it finished... so i can try it out... cuz i really jsut don't feel like making one for myself.. heheh
mIRC Snippet:
Trivia
Posted on Dec 28, 2007 5:58 pm
Posted on Dec 28, 2007 5:58 pm
BlackDemon^, I just made an alias, but i have not integrated it into the dialog yet, and it's at the bottom of the coding ^^
Syntax: /hash [file.txt]
Also, it'll ask for the delimeter
so if u do that, it'll add ur question|answer questions to the hash table as question|hint1|hint2|answer questions.
also, that doesnt replace non-letter characters with a _ ('.,~-!<>? etc...) just letters are replaced so that u can see punctuations
hope this helps you :)
Syntax: /hash [file.txt]
Also, it'll ask for the delimeter
so if u do that, it'll add ur question|answer questions to the hash table as question|hint1|hint2|answer questions.
also, that doesnt replace non-letter characters with a _ ('.,~-!<>? etc...) just letters are replaced so that u can see punctuations
hope this helps you :)
mIRC Snippet:
Trivia
Posted on Dec 29, 2007 9:59 am
Posted on Dec 29, 2007 9:59 am
I dont understand how you add the questions...
for example.
What is the highest skill level you are able to reach?| 9-|-9|99
then i go right click on the mirc channel and click trivia, move to the tab that says questions and click funtions i find the file but whats the next part i dont understand
for example.
What is the highest skill level you are able to reach?| 9-|-9|99
then i go right click on the mirc channel and click trivia, move to the tab that says questions and click funtions i find the file but whats the next part i dont understand
mIRC Snippet:
Trivia
Posted on Dec 29, 2007 10:04 am
Posted on Dec 29, 2007 10:04 am
"question|hint1|hint2|answer
OR
question.hint`.hint2.answer
it duznt matter what delimeter, but must be question, then hint one, then hint two, then answer. so u click convert, then type in the txt file. ex: questions.txt or something. then you type the delimeter's ascii code, (symbol that seperates question, hint, hint, and aswer) if u did the first, it would be 124. if u dont know the ascii code for the delimeter, type //echo -a $asc(|) or w/e the delimeter is
and if u wanna add just one question at a time, click add, and fill in the input boxes
i hope this helps :)"
NEVERMIND READ MORE IT WORKS :D
OR
question.hint`.hint2.answer
it duznt matter what delimeter, but must be question, then hint one, then hint two, then answer. so u click convert, then type in the txt file. ex: questions.txt or something. then you type the delimeter's ascii code, (symbol that seperates question, hint, hint, and aswer) if u did the first, it would be 124. if u dont know the ascii code for the delimeter, type //echo -a $asc(|) or w/e the delimeter is
and if u wanna add just one question at a time, click add, and fill in the input boxes
i hope this helps :)"
NEVERMIND READ MORE IT WORKS :D
mIRC Snippet:
Trivia
Posted on Dec 29, 2007 10:49 am
Posted on Dec 29, 2007 10:49 am
so do you get it now or are u still havin trouble?
if u wanted to add just that question, go to questions tab, add, and fill it out
if u wanted to add just that question, go to questions tab, add, and fill it out
mIRC Snippet:
Trivia
Posted on Feb 6, 2008 7:22 pm
Posted on Feb 6, 2008 7:22 pm
UPDATED
*forgot to add !top10 to !trivhelp in the script and in the introduction
*added on unload
*forgot to add !top10 to !trivhelp in the script and in the introduction
*added on unload
mIRC Snippet:
Trivia
Posted on Feb 7, 2008 1:20 pm
Posted on Feb 7, 2008 1:20 pm
Nice trivia script mountaindew. I like it!
mIRC Snippet:
Trivia
Posted on Feb 8, 2008 1:59 pm
Posted on Feb 8, 2008 1:59 pm
Thanks Kenny. By the way, if you go to the trivia dialog (/trivia or through the menu), you can add more responses (on the first tab under "add missed question response")
mIRC Snippet:
Trivia
Posted on Feb 11, 2008 4:14 pm
Posted on Feb 11, 2008 4:14 pm
UPDATED
» Updated the on unload
» Renamed "Convert" to "Add *.txt" (i don't know why i named it convert in the first place
)
» Added an "Add *.txt" dialog
»» Add txt files full of questions in either question|answer format or question|hint1|hint1|answer format
»» Click "..." and choose a txt file, then select the proper radio for the format the questions are in. Then input the delimeter that seperates everything when prompted to
Enjoy
» Updated the on unload
» Renamed "Convert" to "Add *.txt" (i don't know why i named it convert in the first place
» Added an "Add *.txt" dialog
»» Add txt files full of questions in either question|answer format or question|hint1|hint1|answer format
»» Click "..." and choose a txt file, then select the proper radio for the format the questions are in. Then input the delimeter that seperates everything when prompted to
Enjoy
mIRC Snippet:
Trivia
Posted on Feb 20, 2008 4:42 pm
Posted on Feb 20, 2008 4:42 pm
Edited the $sfile() so that it only displays *.txt files, just realized I was able to do that.












