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

From AniDB
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
                    Made By AnimeNeko Thx to PetriW For this Option
#                    Made By AnimeNeko Thx to PetriW For this Option                       #
                              Enable statwhoring in aom
#                              Enable statwhoring in aom                                 #
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                 #


menu channel {
menu channel {
   -   
   -   
   AniDb Mystats: updatemystats | /msg $chan MYSTATS: mwizard - %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)
  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)
}
}


Line 18: Line 19:
     set %epswatched $readini(%aom.file, mylist, episodeswatched)
     set %epswatched $readini(%aom.file, mylist, episodeswatched)
   }
   }
}
save the file as statwhoring.mrc or something like that :)

Revision as of 00:29, 7 January 2007

  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)
 }