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

no edit summary
No edit summary
No edit summary
Line 13: Line 13:
alias mystats {
alias mystats {
   var %aom.file e:\aom\MyStats.ini
   var %aom.file e:\aom\MyStats.ini
   var %nick mwizard
   var %nick MWizard
   if ($exists(%aom.file)) {  
   if ($exists(%aom.file)) {  
     var %anidbepcount $readini(%aom.file, anidb, episodecount)
     var %anidbepcount $readini(%aom.file, anidb, episodecount)
Line 19: Line 19:
     var %totaleps $readini(%aom.file, mylist, episodecount)
     var %totaleps $readini(%aom.file, mylist, episodecount)
     var %Tfilescount $readini(%aom.file, mylist, filecount)
     var %Tfilescount $readini(%aom.file, mylist, filecount)
    var %fileswatched $readini(%aom.file, mylist, fileswatched)
     var %mylistsize $readini(%aom.file, mylist, size)
     var %mylistsize $readini(%aom.file, mylist, size)
     var %epswatched $readini(%aom.file, mylist, episodeswatched)
     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)
    var %watchedsize $readini(%aom.file, mylist, watchedsize)
     say %nick has %animecount Animes, %totaleps Episodes, %Tfilescount files, $bytes(%mylistsize,g).suf ( $+ $round($calc(%totaleps / %anidbepcount * 100 ),3) $+ % $+ ) Anime ( $+ %epswatched Eps / $round($calc(%epswatched / %totaleps * 100 ),3) $+ % $+ , $bytes(%watchedsize,g).suf $+ , %fileswatched files, $round($calc(%epswatched / %anidbepcount * 100 ),3) $+ % Watched)
   }
   }
}
}
20

edits

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