OK well, heres how it is. I have this text file with the "monsters" in a game I play. I want the users in IRC to be able to do like !monster monster_name/id and get info about it. I already know how to process the string of data, what I do not know is how to fish it out of the text file. Heres an example line in the file...
1002,PORING,Poring,1,50..............................
the only important part is the first number (unique to the monster) and the name (a few are repeated), if they know the ID it would be simple. I would just subtract 1001 from it and read that line, the problem is not everyone has easy access to that information (theyd need this file, and if they had it, they wouldnt need the script), I know i can use tokens to read it, but im just having the problem with finding it in the file.
I thought of having a reverse text file, where the ID was second and the monster first, that way i could check each line for the mob name, but them mIRC eats CPU like crazy and lags the computer and therefore the server...which is a problem... any ideas besides setting the mIRC cpu priority to low? (dont have XP)