you can try this...but it's SQL Version.
http://pastebin.com/raw.php?i=KQFjt7ia
make sure you load this Table in your SQL before use the NPC Scripts.
CREATE TABLE IF NOT EXISTS `E-MVPRank` (
`char_id` int(11) unsigned NOT NULL default '0',
`name` varchar(30) NOT NULL DEFAULT '',
`Count` int(11) unsigned NOT NULL default '0',
PRIMARY KEY (`char_id`)
) ENGINE=MyISAM;
@iraciz
those data are saved in variable..and use for TXT version...it's much more harder to track and debug the script than you can imagine.....
and since we are now using SQL ....and ...coincidentally another topic also request for a MVP Ranker script...so i will post the content here for second time..