Difference between revisions of "AniDB O'Matic - mIRC script for statistics"

From AniDB
Jump to navigation Jump to search
(And here's my take on it)
Line 4: Line 4:
 
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #
 
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #
 
#            Replace mwizard als with your own name or remove it up to you                #
 
#            Replace mwizard als with your own name or remove it up to you                #
 +
#                        You can use it in the ChatChannel and PM                        #
  
menu channel {
+
menu channel,query {
 
   -   
 
   -   
 
   AniDb Mystats: mystats
 
   AniDb Mystats: mystats

Revision as of 14:54, 7 January 2007

#                    Made By AnimeNeko Thx to PetriW For this Option                       #
#                               Enable statwhoring in aom                                  #
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #
#            Replace mwizard als with your own name or remove it up to you                 #
#                         You can use it in the ChatChannel and PM                         #

menu channel,query {
  -  
  AniDb Mystats: mystats
}

alias mystats {
  var %aom.file e:\aom\MyStats.ini
  var %nick mwizard
  if ($exists(%aom.file)) { 
    var %anidbepcount $readini(%aom.file, anidb, episodecount)
    var %animecount $readini(%aom.file, mylist, animecount)
    var %totaleps $readini(%aom.file, mylist, episodecount)
    var %Tfilescount $readini(%aom.file, mylist, filecount)
    var %mylistsize $readini(%aom.file, mylist, size)
    var %epswatched $readini(%aom.file, mylist, episodeswatched)
    say MYSTATS: %nick - %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)
  }
}