AniDB O'Matic - mIRC script for statistics

From AniDB
Revision as of 00:29, 7 January 2007 by AnimeNeko (talk | contribs)
Jump to navigation Jump to search
  1. Made By AnimeNeko Thx to PetriW For this Option #
  2. Enable statwhoring in aom #
  3. Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #
  4. Replace mwizard als with your own name or remove it up to you #

menu channel {

 -  
 Anidb Mystats update: updatemystats
 AniDb Mystats: /msg $chan �13MYSTATS: �7mwizard �14- %animecount Animes, %totaleps Episodes, ( $+ %epswatched Eps / $round($calc(%epswatched / %totaleps * 100 ),3) $+ % Watched) and ( $+ $bytes(%mylistsize).suf $+ , %Tfilescount files, $round($calc(%totaleps / %anidbepcount * 100 ),3) $+ % of aniDB, $round($calc(%epswatched / %anidbepcount * 100 ),3) $+ % Watched)

}

alias updatemystats {

 if ($exists(e:\aom\MyStats.ini)) { set %aom.file e:\aom\MyStats.ini } { 
   set %anidbepcount $readini(%aom.file, anidb, episodecount)
   set %animecount $readini(%aom.file, mylist, animecount)
   set %totaleps $readini(%aom.file, mylist, episodecount)
   set %Tfilescount $readini(%aom.file, mylist, filecount)
   set %mylistsize $readini(%aom.file, mylist, size)
   set %epswatched $readini(%aom.file, mylist, episodeswatched)
 }