Get highest value from a file using mSL and mIRC
问题 Currently I have an irc bot that when a user says a keyword e.g test1 they get +1 added to their count, which is stored in a file. However I wanted to know who had the biggest count (who was winning). I thought something like a while loop would work, looking for the numbers against the nickname, unfortunately, although my pseudo code is correct, the theoretical code, not so much. This is what I have so far. on *:TEXT:!winning:#:{ var %i = 1, %highest = 0, %mycookie = $readini(cookies.ini,n,#,