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

Jump to navigation Jump to search
And here's my take on it
mNo edit summary
(And here's my take on it)
Line 1: Line 1:
<pre>
#                    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                                  #
Line 6: Line 7:
menu channel {
menu channel {
   -   
   -   
  Anidb Mystats update: updatemystats
   AniDb Mystats: mystats
   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 {
alias mystats {
   if ($exists(e:\aom\MyStats.ini)) { set %aom.file e:\aom\MyStats.ini } {  
   var %aom.file e:\aom\MyStats.ini
     set %anidbepcount $readini(%aom.file, anidb, episodecount)
  var %nick mwizard
     set %animecount $readini(%aom.file, mylist, animecount)
  if ($exists(%aom.file)) {  
     set %totaleps $readini(%aom.file, mylist, episodecount)
     var %anidbepcount $readini(%aom.file, anidb, episodecount)
     set %Tfilescount $readini(%aom.file, mylist, filecount)
     var %animecount $readini(%aom.file, mylist, animecount)
     set %mylistsize $readini(%aom.file, mylist, size)
     var %totaleps $readini(%aom.file, mylist, episodecount)
     set %epswatched $readini(%aom.file, mylist, episodeswatched)
     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)
   }
   }
}
</pre>
15

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.