dashdingo

dashdingo

Joined:
Feb 27, 2009

Activity Stream

dashdingo commented on a Snippet, Trivia  -  Feb 27, 2009
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
 Respond  
dashdingo commented on a Snippet, Trivia  -  Feb 27, 2009
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
 Respond  
dashdingo posted an Image  -  Feb 27, 2009
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.