Jump to content

Simple Trivia Game


Twango

Recommended Posts

I know this seems like a task... but I've done it in another language (I'm terrible at converting languages!)Most of you have probably never heard of this language (mIRC) unless you chill on IRC often...Anyways, I can give you the code if you know mIRC.It's pretty simple. I have 2 text files.Answers and questions. I'd want it to echo say, line one from "questions", user types in answer, then something like

if ($_POST['Answer'] == getFromTxt("answers.txt").lines($currentline) { //Add points $currentline .= 1 }

then repeat again...I have absoloutely NO idea how to do this, although I did it in mIRC.Again, if anyone knows how to script in mIRC I can give you the code to convert!Please help!~Twango

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...