Trivia
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 5.1 |
| Scores Submitted | 8 |
| Date Added | Apr 02, 2005 |
| Last Updated | Sep 04, 2008 |
|
|
Introduction
When u have put it in Remotes type /write Trivia.txt
then type /run trivia.txt
then add all the things underneath the Questions bit until it says "End"
then type /chans
and put in the channel u want trivia to run in
you can add questions by typing /run trivia.txt , to open the file then add the question the format is question?|hint1|hint2|answer
e.g
what does red and blue make?|p-----|pu---e|purple
the answer would be Purple so u put the question like that u want the second hint to have more characters filled in.
You can Add As Many Questions as You Want into the Txt file
Have fun =D
mIRC Snippet:
Trivia
Posted on Apr 4, 2005 6:52 am
Posted on Apr 4, 2005 6:52 am
there is a /chans command add this "alias chans { set %chans $$?="Enter Channel For Trivia" }" then when u type /chans it should come up with a little dialog thing then just put ur channel in then type !trivia in the channel u put in the little box
mIRC Snippet:
Trivia
Posted on Apr 4, 2005 6:32 pm
Posted on Apr 4, 2005 6:32 pm
you might want to do this poixon alias chans { %chans = $iif($1,$1,$$?="Enter channel Name") } so they can type /chan #roomname or just /chan and have the dialog
mIRC Snippet:
Trivia
Posted on Apr 4, 2005 8:43 pm
Posted on Apr 4, 2005 8:43 pm
ok thnx i fixed it now :D but one im wondering if theres a way to change it from 30 secs to 60 secs? and is there away to reset the points people get so people start off with zero points each game? because i start a new game and everyone has their original points, is that suppose to happen?
mIRC Snippet:
Trivia
Posted on Apr 5, 2005 6:06 am
Posted on Apr 5, 2005 6:06 am
DarkSoul to change it to 60secs .. change all the ".timer3 1 35 wrong" line in the script to ".timer3 1 60 wrong" ( btw there are 2 of the .timer3 1 35 wrong ) and yes there points are suppose to stay unless u type //unset %score* which will unset everyones points :)
mIRC Snippet:
Trivia
Posted on Jul 7, 2005 9:22 am
Posted on Jul 7, 2005 9:22 am
i tried to add questions with 2 werd answers and it didnt werk...players are nt able to answer even if they typed d correct answer...what should i do to make it werk??
and is there any way to add a timer to indicate the number of sec players get the right answer?? err get wat i mean??
and is there any way to add a timer to indicate the number of sec players get the right answer?? err get wat i mean??
mIRC Snippet:
Trivia
Posted on Jul 7, 2005 9:33 am
Posted on Jul 7, 2005 9:33 am
i tried to add questions with 2 werd answers and it didnt werk...players are nt able to answer even if they typed d correct answer...what should i do to make it werk??
and is there any way to add a timer to indicate the number of sec players get the right answer?? err get wat i mean??
and is there any way to add a timer to indicate the number of sec players get the right answer?? err get wat i mean??
mIRC Snippet:
Trivia
Posted on Aug 9, 2005 5:21 pm
Posted on Aug 9, 2005 5:21 pm
Did you put the questions in a .txt file?
mIRC Snippet:
Trivia
Posted on Dec 30, 2006 10:32 pm
Posted on Dec 30, 2006 10:32 pm
very nice i like but you cant add answer with two words in it :s fix that =)
mIRC Snippet:
Trivia
Posted on Dec 31, 2006 1:53 am
Posted on Dec 31, 2006 1:53 am
oh and also how do i restart the scores??
mIRC Snippet:
Trivia
Posted on Jun 30, 2007 9:27 am
Posted on Jun 30, 2007 9:27 am
to restart scores type //unset %score*
also i was wondering if there was a way to put a timer, to see how fast the person got the answer, and have it say their rank when they get it right, and their streak. Like congrats, $nick! you got it in ___ Seconds! You're in __th. You got _ in a row! or you just moved up in rank!
Also, like PCTech said, i think it would be cool to have like if u get 100, you get voice, 200, you get halfop, 1000, you get op.
One more thing. Is there any way to edit people's scores?
also i was wondering if there was a way to put a timer, to see how fast the person got the answer, and have it say their rank when they get it right, and their streak. Like congrats, $nick! you got it in ___ Seconds! You're in __th. You got _ in a row! or you just moved up in rank!
Also, like PCTech said, i think it would be cool to have like if u get 100, you get voice, 200, you get halfop, 1000, you get op.
One more thing. Is there any way to edit people's scores?
mIRC Snippet:
Trivia
Posted on Jun 30, 2007 9:29 am
Posted on Jun 30, 2007 9:29 am
also, is there a feature on it already for it to stop after N questions?
mIRC Snippet:
Trivia
Posted on Jun 30, 2007 9:33 am
Posted on Jun 30, 2007 9:33 am
oh, i see there is a feature to voice and op ppl depending on their score...nice!
mIRC Snippet:
Trivia
Posted on Jun 30, 2007 9:36 am
Posted on Jun 30, 2007 9:36 am
top 10 would be cool
mIRC Snippet:
Trivia
Posted on Jun 30, 2007 11:28 am
Posted on Jun 30, 2007 11:28 am
this was what it said in another trivia game, i thought its cool
msg $chan 6That's the way4 $nick $+ 6! The answer was4 (ANSWER) $+ 6. You got it in4 (TIME) 6seconds. You've moved up in rank!
msg $chan 6 $+ $nick 6now has4 (SCORE) 6points and is ranked 4 (RANK)6of 4(RANK) 6behind4 (NICK AHEAD OF HIM) 6with4 (OTHER NICKS SCORE)
i was wondering if theres anyway to include that in this script along with a top 10?
msg $chan 6That's the way4 $nick $+ 6! The answer was4 (ANSWER) $+ 6. You got it in4 (TIME) 6seconds. You've moved up in rank!
msg $chan 6 $+ $nick 6now has4 (SCORE) 6points and is ranked 4 (RANK)6of 4(RANK) 6behind4 (NICK AHEAD OF HIM) 6with4 (OTHER NICKS SCORE)
i was wondering if theres anyway to include that in this script along with a top 10?
mIRC Snippet:
Trivia
Posted on Jul 1, 2007 12:31 pm
Posted on Jul 1, 2007 12:31 pm
One thing doesnt work in this. When a new user begins to play, and they get their first question right, it says $nick has points. It says this because u increased the score AFTER it says their points. So make it like this.
instead of
msg %chan 12You Got It Right The Answer Was:4 $+(%answer,!)$+ $+(12,$nick)$+ Has %score [ $+ [ $nick ] ] Point(s)!
inc %score [ $+ [ $nick ] ]
make it
inc %score [ $+ [ $nick ] ]
msg %chan 12You Got It Right The Answer Was:4 $+(%answer,!)$+ $+(12,$nick)$+ Has %score [ $+ [ $nick ] ] Point(s)!
also, i added a feature to check other ppl's scores.
if ($1 == !score) {
if (%score [ $+ [ $nick ] ] == $null) && ( $2 == $null ) {
notice $nick You Have 0 Points
}
elseif (%score [ $+ [ $nick ] ] != $null) && ( $2 == $null ) {
notice $nick You Have %score [ $+ [ $nick ] ] Points!
}
elseif (%score [ $+ [ $2 ] ] == $null) && ( $2 != $null ) {
notice $nick $2 Has 0 Points
}
elseif (%score [ $+ [ $2 ] ] != $null) && ( $2 != $null ) {
notice $nick $2 Has %score [ $+ [ $2 ] ] Points!
}
}
}
instead of
msg %chan 12You Got It Right The Answer Was:4 $+(%answer,!)$+ $+(12,$nick)$+ Has %score [ $+ [ $nick ] ] Point(s)!
inc %score [ $+ [ $nick ] ]
make it
inc %score [ $+ [ $nick ] ]
msg %chan 12You Got It Right The Answer Was:4 $+(%answer,!)$+ $+(12,$nick)$+ Has %score [ $+ [ $nick ] ] Point(s)!
also, i added a feature to check other ppl's scores.
if ($1 == !score) {
if (%score [ $+ [ $nick ] ] == $null) && ( $2 == $null ) {
notice $nick You Have 0 Points
}
elseif (%score [ $+ [ $nick ] ] != $null) && ( $2 == $null ) {
notice $nick You Have %score [ $+ [ $nick ] ] Points!
}
elseif (%score [ $+ [ $2 ] ] == $null) && ( $2 != $null ) {
notice $nick $2 Has 0 Points
}
elseif (%score [ $+ [ $2 ] ] != $null) && ( $2 != $null ) {
notice $nick $2 Has %score [ $+ [ $2 ] ] Points!
}
}
}
mIRC Snippet:
Trivia
Posted on Sep 2, 2007 2:51 am
Posted on Sep 2, 2007 2:51 am
hey, i have it all done, except when some1 anwsers it does not show anything even if its right, and i tryed the ($1-) above, help please!
mIRC Snippet:
Trivia
Posted on Dec 1, 2008 5:17 pm
Posted on Dec 1, 2008 5:17 pm
i got this message when i tried to run trivia.txt. /run: unable to open file 'trivia.txt'
so i guess something aint right
so i guess something aint right
mIRC Snippet:
Trivia
Posted on Dec 1, 2008 8:51 pm
Posted on Dec 1, 2008 8:51 pm
Did you /write it first?
mIRC Snippet:
Trivia
Posted on Dec 2, 2008 5:23 pm
Posted on Dec 2, 2008 5:23 pm
yeah i sure did and it works but it doesnt read the questions from the text file








