2001 InkyScripts by InkyWings 

Thanks for downloading and using InkyWings' InkyTrivBot, a trivia bot for even the least schooled beginner.  First, let me post a disclaimer right up front and say that I built this bot after downloading several, including JoTrivia, TriviaMaster, and PR TriviaManiac.  I hated all of them and thought they sucked.  So I picked the code apart, looked at how they all operated, added stuff that was missing, got better questions, made skins, and created my own.  

-.-.--.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

What this bot does:

Private hint mode-
Users can type !hint and get a private hint, but the bot will also give hints in main channel.

Top Listings- lifted from JoTrivia, this bot will allow you to set how many "top" players will be displayed at the !top command.

-.-.--.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

SETUP

DON'T TRY TO PASTE THE SCRIPT INTO YOUR MIRC FOLDER.  You need to run two separate mIRCs, and the scripts will tend to fight one another.  DON'T DELETE THE SCRIPT.INI FILE!  In your normal mIRC it's bad, in this mirc, it runs the bot.  Put this entire assembly into it's own folder, stick it wherever you want, and fire up the mIRC inside this folder.

In a channel, type /load -rs script.ini then type /init

You will get a series of popup windows asking you specific questions.

1 - What channel will the bot be run in? (Don't forget the #)

2 - What percentage chance do you want for switching public and private hint modes between questions? Pick any number between 1 and 100 and leave off the % symbol.

3 - Enter the number of top scorers you want listed for the !top command.  Keep it down to 10 or under.

Questions:
I believe the current load is 1142.  Please feel free to add or delete but CHANGE THE NUMBER AT THE TOP TO REFLECT THE NUMBER OF QUESTIONS.  The format is:

question|answer  

Note there are no spaces between the | 

There are no spaces between lines, either.  The number of questions in the text MUST APPEAR at the top of the file.  The file is named q.txt and the name should NOT be changed.

Questions or lines that aren't in the right format will be logged to corrupt.txt when the bot picks those questions. You can manually check all the questions (slower as the number of questions goes up) with the "/checkcorrupt" command.  

-.-.--.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

Help:

Chatters can type !help and get a run down of commands.

!trivoff command turns the bot off after the current question has been answered.

The operator can use /trivoff to immediately shut the bot down. 

If 10 questions in a row go unanswered, the bot will automatically shut down.

The bot will creat a text file called "usednums.txt" that will monitor which questions have been asked.  It will run through the entire file before repeating a question.  Depending on how many questions you have, if the bot slows down try deleting this file.  

Thanks to all who went before me to inspire this bot, especially JoTweak.  Use it well and have FUN!!!

~InkyWings
