Trivia
mIRC Code
+ 13 likes
Please Register to submit score.
| Average Score | 9.1 (of 15 scores) |
| 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 |
Description
~*~*~Mountaindew's Trivia~*~*~
~*~*~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 �~�
~*~*~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.
mIRC Snippet:
Trivia
Posted on Mar 11, 2008 12:33 pm
Posted on Mar 11, 2008 12:33 pm
any idea were i could get some questions to load into it tnx
mIRC Snippet:
Trivia
Posted on Mar 11, 2008 1:51 pm
Posted on Mar 11, 2008 1:51 pm
All I have is South Park questions if you want them.
mIRC Snippet:
Trivia
Posted on Mar 12, 2008 1:52 pm
Posted on Mar 12, 2008 1:52 pm
Right now, all there is is !top10
But I'll be glad too add the !rank command
But I'll be glad too add the !rank command
mIRC Snippet:
Trivia
Posted on Mar 31, 2008 8:43 pm
Posted on Mar 31, 2008 8:43 pm
Updated: The !questions returned 0, fixed it.
mIRC Snippet:
Trivia
Posted on May 1, 2008 3:29 pm
Posted on May 1, 2008 3:29 pm
Updated:
• Added some regex
• Fixed a some bugs
• Simplified some of the coding
• Some people requested that it should message the answer if you get it wrong. If you want that, you'll see a commented line in "alias wrong {" that has the line to use.
• Added some regex
• Fixed a some bugs
• Simplified some of the coding
• Some people requested that it should message the answer if you get it wrong. If you want that, you'll see a commented line in "alias wrong {" that has the line to use.
mIRC Snippet:
Trivia
Posted on May 8, 2008 7:46 pm
Posted on May 8, 2008 7:46 pm
Well if you click "Add *.txt", it'll ask you whether it's in Question|Hint1|Hint2|Answer format or Question|Answer format
Note: They don't need to be seperated by "|"
It asks your for the delimeter of the seperator, so if it was What's my name?*___________*M__________*MountainDew , the delimeter would be $asc(*) » I don't know it off the top of my head ;)
Note: They don't need to be seperated by "|"
It asks your for the delimeter of the seperator, so if it was What's my name?*___________*M__________*MountainDew , the delimeter would be $asc(*) » I don't know it off the top of my head ;)
mIRC Snippet:
Trivia
Posted on May 9, 2008 5:57 am
Posted on May 9, 2008 5:57 am
no no no
Everything goes in remotes, you don't even need to use the aliases yourself, the dialog does everything.
Everything goes in remotes, you don't even need to use the aliases yourself, the dialog does everything.
mIRC Snippet:
Trivia
Posted on Jun 26, 2008 10:08 am
Posted on Jun 26, 2008 10:08 am
| Code: |
if ($regex($1,/^[!@.](?:triv(ia)?(?:help)|help)$/Si)) { .notice $nick ~*~Trivia Commands~*~ .notice $nick !trivia ~ Starts trivia .notice $nick !strivia ~ Stops trivia $iif($hget(trivia,strivia) != ison,if you are) $iif($hget(trivia,strivia) == isop,op'd) $iif($hget(trivia,strivia) == isvoice,voiced) .notice $nick !score ~ Returns your rank and score .notice $nick !score <nick> ~ Returns <nick>'s rank and score .notice $nick !report <ques #> <problem> ~ report a question .notice $nick !trivhelp ~ Returns trivia help (this) .notice $nick !questions ~ Returns tumber of trivia questions .notice $nick !top10 ~ Returns top 10 scores if ($nick == $hget(trivia,owner)) .notice $nick !give <nick> <points> ~ Give someone points } |
There's !help !trivhelp !triviahelp
mIRC Snippet:
Trivia
Posted on Jul 9, 2008 11:48 am
Posted on Jul 9, 2008 11:48 am
Updated: When you would add a .txt with question|answer, it was just replacing letters with _ and not numbers also
mIRC Snippet:
Trivia
Posted on Jul 13, 2008 3:45 pm
Posted on Jul 13, 2008 3:45 pm
ok
im a newbie and its driving me mad
for a week now ive been searching for a trivia bot and dunno had 2 read up on eggs and shells and everything
now here's d questions
1. whats a delimeter? what do i write in it wen it prompts me after ive uploaded a text file with all questions
2. d bot doesnt start...none of dem do...and i dno weher im i going wrong
when i type !trivia nothing happens evn tho ive followed ur directions n stuff
its only when i type /trivia that dialog opens but nothing else happens
plz temme..i wanna hav a trivia bot for my room!!!
im a newbie and its driving me mad
for a week now ive been searching for a trivia bot and dunno had 2 read up on eggs and shells and everything
now here's d questions
1. whats a delimeter? what do i write in it wen it prompts me after ive uploaded a text file with all questions
2. d bot doesnt start...none of dem do...and i dno weher im i going wrong
when i type !trivia nothing happens evn tho ive followed ur directions n stuff
its only when i type /trivia that dialog opens but nothing else happens
plz temme..i wanna hav a trivia bot for my room!!!
mIRC Snippet:
Trivia
Posted on Jul 15, 2008 10:20 am
Posted on Jul 15, 2008 10:20 am
For the delimeter, it's the asc number of the character seperating the questions from the answers and possibly from the hints.
So with: What is my name?|___________|M__________|MountainDew
The character that seperates it is "|", so you would do "//echo -a $asc(|)" and it will return 124. So in this case, you would type 124 in the input box when it asks you.
And about it not starting, make sure you set a channel for the trivia, you can do it on the first page of the dialog. Also make sure it's in its own remotes file (file > new).
So with: What is my name?|___________|M__________|MountainDew
The character that seperates it is "|", so you would do "//echo -a $asc(|)" and it will return 124. So in this case, you would type 124 in the input box when it asks you.
And about it not starting, make sure you set a channel for the trivia, you can do it on the first page of the dialog. Also make sure it's in its own remotes file (file > new).
mIRC Snippet:
Trivia
Posted on Jul 25, 2008 2:31 am
Posted on Jul 25, 2008 2:31 am
Mountaindew i did what you said which was
*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
but there was nothing asking me for the owner or channel no dialog or anything and when i just tried to enter !trivia it didnt work.. so what did i do wrong?
*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
but there was nothing asking me for the owner or channel no dialog or anything and when i just tried to enter !trivia it didnt work.. so what did i do wrong?
mIRC Snippet:
Trivia
Posted on Jul 25, 2008 3:32 am
Posted on Jul 25, 2008 3:32 am
Make sure you are pasting into a new remote file. In other words, when you hold down alt and press R to bring up the script editor already opened to the remotes tab, if there is anything already written you should start a new remote file for the trivia script.
To do that, double check that you are indeed on the remotes tab, now click File then New. It will start a new .mrc usually called script1.mrc or similiar. Now you can paste the script in and hit ok to save and close the script editor. When you hit OK to save the file and close the editor it should ask you the questions about the owner name and channel. If it doesnt you did something wrong again and that usually means either you didnt start a new file or you werent in the remotes tab in the scripts editor.
If you take your time following the instructions you should be ok.
Good luck.
To do that, double check that you are indeed on the remotes tab, now click File then New. It will start a new .mrc usually called script1.mrc or similiar. Now you can paste the script in and hit ok to save and close the script editor. When you hit OK to save the file and close the editor it should ask you the questions about the owner name and channel. If it doesnt you did something wrong again and that usually means either you didnt start a new file or you werent in the remotes tab in the scripts editor.
If you take your time following the instructions you should be ok.
Good luck.
mIRC Snippet:
Trivia
Posted on Aug 9, 2008 3:09 pm
Posted on Aug 9, 2008 3:09 pm
I can't see the trivia on my window. I would also like to play along with my friends. How could I do that and still host a game? Thank you! By the way, my friends all say it's real clean and fun to use! I think the setup is easy and clean! ^-^ Great job.
mIRC Snippet:
Trivia
Posted on Aug 9, 2008 4:37 pm
Posted on Aug 9, 2008 4:37 pm
Uh you would need to have 2 different mIRC's open in order for yourself to play.
mIRC Snippet:
Trivia
Posted on Aug 9, 2008 10:40 pm
Posted on Aug 9, 2008 10:40 pm
Thank you! Sorry, I thought of that and then felt stupid for asking you. O:
It's just been a long day.
It's just been a long day.
mIRC Snippet:
Trivia
Posted on Aug 28, 2008 5:43 am
Posted on Aug 28, 2008 5:43 am
when i write !strivia it dsnt stop the trivia
mIRC Snippet:
Trivia
Posted on Aug 28, 2008 10:12 am
Posted on Aug 28, 2008 10:12 am
deathreaper, make sure the person typing !strivia isn't on the same IRC as the bot. Also make sure that you set the correct channel and that !strivia is set to everyone.
mIRC Snippet:
Trivia
Posted on Sep 8, 2008 8:16 am
Posted on Sep 8, 2008 8:16 am
i love the script looks very usful...however im strugling to find any questions for it..plz point me in the right direction
ty
ty
mIRC Snippet:
Trivia
Posted on Sep 8, 2008 5:05 pm
Posted on Sep 8, 2008 5:05 pm
again mw you amaze me with your scripting :) very well done.
mIRC Snippet:
Trivia
Posted on Sep 8, 2008 6:05 pm
Posted on Sep 8, 2008 6:05 pm
:)
undertaker, I donno where you can find questions
undertaker, I donno where you can find questions
mIRC Snippet:
Trivia
Posted on Sep 10, 2008 9:57 pm
Posted on Sep 10, 2008 9:57 pm
dam mountaindew that more like an addon LOl as i will make it an addon and add it to a zip file for ppl that like to download trivia games. And Undertaker theres many script site that have those questions.....!! http://www.public.rumbaar.net/ they have a huge amount of questions hope this will help you
mIRC Snippet:
Trivia
Posted on Sep 20, 2008 10:37 am
Posted on Sep 20, 2008 10:37 am
Hmm it should've added "ison" to the hash table on load.
Just go to the dialog again and select a radio for !strivia.
Just go to the dialog again and select a radio for !strivia.
mIRC Snippet:
Trivia
Posted on Sep 21, 2008 4:35 pm
Posted on Sep 21, 2008 4:35 pm
Right, now I'm having trouble with adding .txt files.
I'm setting it up like question|hint1|hint2|answer, like it says, but everything is just going straight in the question part. I've checked the radio box corresponding to the format I put the .txt file in.
I'm setting it up like question|hint1|hint2|answer, like it says, but everything is just going straight in the question part. I've checked the radio box corresponding to the format I put the .txt file in.
mIRC Snippet:
Trivia
Posted on Sep 22, 2008 2:34 pm
Posted on Sep 22, 2008 2:34 pm
Umm what do you mean it goes straight in the questions part?
1) /trivia
2) Questions tab
3) Add *.txt
4) Find the file, hit the Question|hint1|hint2|answer radio
5) Type the delimeter --> $asc(character seperating the questions/hints/answer)
6) It should add the questions to the listbox and you should be all set
1) /trivia
2) Questions tab
3) Add *.txt
4) Find the file, hit the Question|hint1|hint2|answer radio
5) Type the delimeter --> $asc(character seperating the questions/hints/answer)
6) It should add the questions to the listbox and you should be all set
mIRC Snippet:
Trivia
Posted on Sep 22, 2008 5:20 pm
Posted on Sep 22, 2008 5:20 pm
Well it's the ascii number of the character seperating the things.
What is my name?|___________|M__________|MountainDew --> $asc(|) = 124
What's your name?._______.K______.Kenpari --> $asc(.) = 46
So for example, just type in a window, //echo -a $asc(.), and it'll give you the number.
What is my name?|___________|M__________|MountainDew --> $asc(|) = 124
What's your name?._______.K______.Kenpari --> $asc(.) = 46
So for example, just type in a window, //echo -a $asc(.), and it'll give you the number.
mIRC Snippet:
Trivia
Posted on Oct 10, 2008 8:42 am
Posted on Oct 10, 2008 8:42 am
| Quote: |
I set the channels in trivia and gone all ? but why? :S |
I don't get what you're saying.
mIRC Snippet:
Trivia
Posted on Oct 15, 2008 6:04 pm
Posted on Oct 15, 2008 6:04 pm
The bot asking the question has to be on its own mIRC btw. So the ppl answering the questions have to be on a seperate IRC client.
mIRC Snippet:
Trivia
Posted on Dec 22, 2008 5:34 am
Posted on Dec 22, 2008 5:34 am
I loaded my questions and used the code but after I click OK the questions do not appear... what could I have done wrong?
mIRC Snippet:
Trivia
Posted on Dec 24, 2008 9:03 pm
Posted on Dec 24, 2008 9:03 pm
Gogetta, how are the questions set up?
Purcell, $asc(|) = 124
Purcell, $asc(|) = 124
mIRC Snippet:
Trivia
Posted on Dec 26, 2008 3:26 pm
Posted on Dec 26, 2008 3:26 pm
I donno, do //echo -a $asc(¶)
mIRC Snippet:
Trivia
Posted on Dec 30, 2008 8:34 am
Posted on Dec 30, 2008 8:34 am
here is 1 question
What nation has had a monarchy the longest?|J----|J---n|Japan
I know the I put the delimeter correctly as 124 but nothing happens :S
What nation has had a monarchy the longest?|J----|J---n|Japan
I know the I put the delimeter correctly as 124 but nothing happens :S
mIRC Snippet:
Trivia
Posted on Jan 7, 2009 9:24 am
Posted on Jan 7, 2009 9:24 am
There's no limit on the number of questions :/
mIRC Snippet:
Trivia
Posted on Jan 7, 2009 9:52 am
Posted on Jan 7, 2009 9:52 am
In the dialog box where the questions are added, it only allows 39 and it reflects as such in the IRC client by only allowing 39 questions to be asked and it's the same 39. I thought at first it would cycle a different 39 each time, but it's the same over and over. For example, in the client, it says "Question 25/39".
mIRC Snippet:
Trivia
Posted on Jan 16, 2009 11:25 am
Posted on Jan 16, 2009 11:25 am
| Quote: |
| 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 :) |
mIRC Snippet:
Trivia
Posted on Jan 16, 2009 7:35 pm
Posted on Jan 16, 2009 7:35 pm
This script owns!!!! Users hate it when it crashes from flooding, lol. Very well done.
mIRC Snippet:
Trivia
Posted on Jan 16, 2009 9:13 pm
Posted on Jan 16, 2009 9:13 pm
you very welcome :)
mIRC Snippet:
Trivia
Posted on Jan 16, 2009 11:42 pm
Posted on Jan 16, 2009 11:42 pm
love it but i only have 1 problem i have a text file with over 3000 quetions when i try and load it
it crashes making me add them in small doses which is really annoying also the questions are in question*answer format once added the first hint is lines then the next is the first letter is there anyway to not make it crash by adding all in one and to make it so it selects random letters for both hints?
it crashes making me add them in small doses which is really annoying also the questions are in question*answer format once added the first hint is lines then the next is the first letter is there anyway to not make it crash by adding all in one and to make it so it selects random letters for both hints?
mIRC Snippet:
Trivia
Posted on Jan 17, 2009 5:36 pm
Posted on Jan 17, 2009 5:36 pm
When I edit a question, hint, hint 2, or answer, it changes everything to the thing I just edited. But besides that, I haven't noticed anything else.
mIRC Snippet:
Trivia
Posted on Jan 17, 2009 9:49 pm
Posted on Jan 17, 2009 9:49 pm
@duckz: Maybe the time ran out as the user typed their answer. Does it happen all the time or just that once?
mIRC Snippet:
Trivia
Posted on Jan 18, 2009 12:03 am
Posted on Jan 18, 2009 12:03 am
so what ur saying is if the person gets it right it states no one got it and continues to next question? has this happen once or is it constant?
mIRC Snippet:
Trivia
Posted on Jan 19, 2009 10:40 pm
Posted on Jan 19, 2009 10:40 pm
Example:
After second hint the question ends >
No one got that one. Get ready for the next question.
Then someone types correct answer and it counts it as right even though correct answer came in after the above line.
If you look at the coding it has a timer like > .timertrivnewfromwrong 1 2 new
That made the next question come out almost immediately - I wanted to give users actually time to "get ready" so I increased that 2 to 15. The script should not allow late answers, but users can type in correct answer 5 seconds after previous question ended and still get it right.
=============
Also would like to set this so that only OPS can start trivia. Its built in option as to who can stop it, but not start - can that be done?
After second hint the question ends >
No one got that one. Get ready for the next question.
Then someone types correct answer and it counts it as right even though correct answer came in after the above line.
If you look at the coding it has a timer like > .timertrivnewfromwrong 1 2 new
That made the next question come out almost immediately - I wanted to give users actually time to "get ready" so I increased that 2 to 15. The script should not allow late answers, but users can type in correct answer 5 seconds after previous question ended and still get it right.
=============
Also would like to set this so that only OPS can start trivia. Its built in option as to who can stop it, but not start - can that be done?
mIRC Snippet:
Trivia
Posted on Jan 21, 2009 3:25 pm
Posted on Jan 21, 2009 3:25 pm
Alright I'll check out the questions issues and I'll see if I can make the dialog for entering questions from a file a little simpler when I get a chance.
mIRC Snippet:
Trivia
Posted on Jan 25, 2009 11:39 am
Posted on Jan 25, 2009 11:39 am
@duckz: I think it is already set that way. Because some users type like that and it still says it is correct.
mIRC Snippet:
Trivia
Posted on Feb 16, 2009 9:21 pm
Posted on Feb 16, 2009 9:21 pm
Any chance we could get it to do more hints? only 2 hints is pretty short
mIRC Snippet:
Trivia
Posted on Feb 17, 2009 4:12 am
Posted on Feb 17, 2009 4:12 am
mountaindew this is a seriously tremendous script however [yeh I know always a however] I cannot get questions to show properly *example below* I have tried //echo -a $asc(|) and it returns "48" but questions come out like "11~04*11~03Question04 2106/043911~04*11~" this :(
Any ideas as this WILL be a massive hit.
A bird in the hand is worth ______*two in the bush
A catholic minister is known as a*priest
Many thanks for all you time with this tremendous snippet
Any ideas as this WILL be a massive hit.
A bird in the hand is worth ______*two in the bush
A catholic minister is known as a*priest
Many thanks for all you time with this tremendous snippet
mIRC Snippet:
Trivia
Posted on Feb 17, 2009 9:14 am
Posted on Feb 17, 2009 9:14 am
It already strips color codes:
But for the questions, it'd be whatever $asc(*) is.
| Code: |
if ($strip($1-) == $hget(trivia,answer)) { |
But for the questions, it'd be whatever $asc(*) is.
mIRC Snippet:
Trivia
Posted on Feb 21, 2009 10:45 am
Posted on Feb 21, 2009 10:45 am
It works fine for me, but I can't use it if it doesn't have more hints involved.
Its got an interactive pop-up I've seen a few people not realize... maybe thats your problem guys?
Its got an interactive pop-up I've seen a few people not realize... maybe thats your problem guys?
mIRC Snippet:
Trivia
Posted on Feb 27, 2009 4:37 pm
Posted on Feb 27, 2009 4:37 pm
mountaindew :
Thanks for the awesome trivia script.
I am working with sc0tsman to get this working for a site that uses a crippled flash irc client that does not print color output proper. I have gone through and removed the control codes for color and made a couple of edits to fix some of the concatenations of color+variables. I also had to change all the .notice to .msg $chan or .msg $nick as they are not supported either.
One thing I am running into is if questions are in q|h1|h2|a format I can load 7500 questions in no problem, however if I use a q|a format, the hint generator for the hash loader locks up mirc trying to process all the questions.
Is there a way to fix this?
In the mean time I have split the questions into files if 500 questions each, but the process time when adding each new file becomes longer and longer until it finally locks up mirc after loading 4-5 files.
Thanks for the script, we greatly appreciate the help.
-dashdingo
Thanks for the awesome trivia script.
I am working with sc0tsman to get this working for a site that uses a crippled flash irc client that does not print color output proper. I have gone through and removed the control codes for color and made a couple of edits to fix some of the concatenations of color+variables. I also had to change all the .notice to .msg $chan or .msg $nick as they are not supported either.
One thing I am running into is if questions are in q|h1|h2|a format I can load 7500 questions in no problem, however if I use a q|a format, the hint generator for the hash loader locks up mirc trying to process all the questions.
Is there a way to fix this?
In the mean time I have split the questions into files if 500 questions each, but the process time when adding each new file becomes longer and longer until it finally locks up mirc after loading 4-5 files.
Thanks for the script, we greatly appreciate the help.
-dashdingo
mIRC Snippet:
Trivia
Posted on Feb 27, 2009 4:44 pm
Posted on Feb 27, 2009 4:44 pm
rainism :
If you look at around line 237, you will see the following:
else {
.msg $hget(trivia,chan) $+ $read(missed.txt) Get ready for the next question...
;if you want it to msg the answer, use the line below instead
;.msg $hget(trivia,chan) The answer was $hget(trivia,answer) $+ ! Get ready for the next question...
unset %streak*
.timertrivnewfromwrong 1 2 new
}
comment the first .msg with a ;
and remove the ; from the second .msg line and you will get the answers.
-dashdingo
If you look at around line 237, you will see the following:
else {
.msg $hget(trivia,chan) $+ $read(missed.txt) Get ready for the next question...
;if you want it to msg the answer, use the line below instead
;.msg $hget(trivia,chan) The answer was $hget(trivia,answer) $+ ! Get ready for the next question...
unset %streak*
.timertrivnewfromwrong 1 2 new
}
comment the first .msg with a ;
and remove the ; from the second .msg line and you will get the answers.
-dashdingo
mIRC Snippet:
Trivia
Posted on Mar 29, 2009 6:58 am
Posted on Mar 29, 2009 6:58 am
ok, we've chosen to use the Question|answer format, and the answer comes out like instatnly
any help?
any help?
mIRC Snippet:
Trivia
Posted on Apr 4, 2009 9:51 am
Posted on Apr 4, 2009 9:51 am
it great! it would be good if you could set multiple channels
mIRC Snippet:
Trivia
Posted on Apr 6, 2009 12:40 pm
Posted on Apr 6, 2009 12:40 pm
has anyone tried loading the kaos question list into this to me it just freezes mirc totally
mIRC Snippet:
Trivia
Posted on Feb 22, 2010 5:21 pm
Posted on Feb 22, 2010 5:21 pm
@Jubbyjubbster
I'm pretty sure that when you set the channel, you can enter it with commas (i.e. #game, #master, #ice) and so on. I haven't tried it yet, but good question.
And for mountaindew, great job! Would be nice to have some sample questions, but that's not vital.
I'm pretty sure that when you set the channel, you can enter it with commas (i.e. #game, #master, #ice) and so on. I haven't tried it yet, but good question.
And for mountaindew, great job! Would be nice to have some sample questions, but that's not vital.
mIRC Snippet:
Trivia
Posted on Mar 1, 2010 6:55 pm
Posted on Mar 1, 2010 6:55 pm
wouldnt ask me for owner and room


























