Sorry about that. Change $readini in the counts alias to $ini and it will work.

To limit the number of guesses, you'd have to either track the number of guesses or scan the file to count how many guesses there were.

The easiest way would be to use writeini to create a section called Totals and then have the item be the $nick and the data be the number of guesses. You would $readini(legendary.ini,Totals,$nick) and the increment the result and /writeini the value back to Totals $nick. And when you check the value with $readini, you can see if it's > 2 and then just halt the script before anything else is done and maybe give the person a notice that they can only pick 2 items.

Later, when you're ready to allow new guesses, delete the file.