20
edits
mNo edit summary  | 
				No edit summary  | 
				||
| Line 3: | Line 3: | ||
#                               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. #  | ||
#                         You can use it in the ChatChannel and PM                         #  | #                         You can use it in the ChatChannel and PM                         #  | ||
| Line 10: | Line 9: | ||
   AniDb Mystats: mystats  |    AniDb Mystats: mystats  | ||
}  | }  | ||
alias mystats {  | alias mystats {  | ||
   var %aom.file e:\aom\MyStats.ini  |    var %aom.file e:\aom\MyStats.ini  | ||
   if ($exists(%aom.file)) {    |    if ($exists(%aom.file)) {    | ||
    var %username $readini(%aom.file, anidb, username)  | |||
     var %anidbepcount $readini(%aom.file, anidb, episodecount)  |      var %anidbepcount $readini(%aom.file, anidb, episodecount)  | ||
     var %animecount $readini(%aom.file, mylist, animecount)  |      var %animecount $readini(%aom.file, mylist, animecount)  | ||
| Line 23: | Line 21: | ||
     var %epswatched $readini(%aom.file, mylist, episodeswatched)  |      var %epswatched $readini(%aom.file, mylist, episodeswatched)  | ||
     var %watchedsize $readini(%aom.file, mylist, watchedsize)  |      var %watchedsize $readini(%aom.file, mylist, watchedsize)  | ||
     say %  |      say %username has %animecount Animes, %totaleps Episodes, %Tfilescount files, Total $bytes(%mylistsize,g).suf $+ ( $+ $round($calc(%totaleps / %anidbepcount * 100 ),3) $+ % $+ ) of AniDB, %username Watched %epswatched Eps, $round($calc(%epswatched / %totaleps * 100 ),3) $+ % of mylist $+ , $bytes(%watchedsize,g).suf $+ , %fileswatched files, Which is $round($calc(%epswatched / %anidbepcount * 100 ),3) $+ % Of AniDB  | ||
   }  |    }  | ||
}  | }  | ||
| Line 38: | Line 36: | ||
#                               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. #  | ||
#                      Works In chat Channel and in Private Message                        #  | #                      Works In chat Channel and in Private Message                        #  | ||
| Line 51: | Line 48: | ||
alias mystats {  | alias mystats {  | ||
   var %aom.file e:\aom\MyStats.ini  |    var %aom.file e:\aom\MyStats.ini  | ||
   if ($exists(%aom.file)) {    |    if ($exists(%aom.file)) {    | ||
    var %username $readini(%aom.file, anidb, username)  | |||
     var %anidbepcount $readini(%aom.file, anidb, episodecount)  |      var %anidbepcount $readini(%aom.file, anidb, episodecount)  | ||
     var %animecount $readini(%aom.file, mylist, animecount)  |      var %animecount $readini(%aom.file, mylist, animecount)  | ||
| Line 61: | Line 58: | ||
     var %epswatched $readini(%aom.file, mylist, episodeswatched)  |      var %epswatched $readini(%aom.file, mylist, episodeswatched)  | ||
     var %watchedsize $readini(%aom.file, mylist, watchedsize)  |      var %watchedsize $readini(%aom.file, mylist, watchedsize)  | ||
     say %  |      say %username has %animecount Animes, %totaleps Episodes, %Tfilescount files, Total $bytes(%mylistsize,g).suf $+ ( $+ $round($calc(%totaleps / %anidbepcount * 100 ),3) $+ % $+ ) of AniDB, %username Watched %epswatched Eps, $round($calc(%epswatched / %totaleps * 100 ),3) $+ % of mylist $+ , $bytes(%watchedsize,g).suf $+ , %fileswatched files, Which is $round($calc(%epswatched / %anidbepcount * 100 ),3) $+ % Of AniDB  | ||
   }  |    }  | ||
}  | }  | ||
edits