20
edits
No edit summary  | 
				mNo edit summary  | 
				||
| Line 71: | Line 71: | ||
     var %size1 $readini(%aom.file, anidb, size)  |      var %size1 $readini(%aom.file, anidb, size)  | ||
     var %group $readini(%aom.file, anidb, groupcount)  |      var %group $readini(%aom.file, anidb, groupcount)  | ||
     var %  |      var %length $readini(%aom.file, anidb ,length)  | ||
     say Anidb Stats: %animecount1 Animes, %totaleps1 Episodes, %Tfilescount1 Files, %group Groups, size $bytes(%size1,g).suf  |     var %year $int($calc( (%length ) / (60*60*24*365) ))  | ||
    var %weeks $int($calc( (%length  )/ ( 60*60*24*7) - (%year *52 )  ))   | |||
    var %days $int($calc( (%length  )/ (60*60*24) - (%year *365 ) - (%weeks *7) ))  | |||
    var %hour $int($calc( (%length ) / (60*60) - (%year *365*24) - (%weeks *7*24) - (%days *24) ))  | |||
    var %mins $int($calc( (%length ) / (60) - (%year *365*24*60) - (%weeks *7*24*60) - (%days *24*60) - (%hour *60)) )  | |||
     say Anidb Stats: %animecount1 Animes, %totaleps1 Episodes, %Tfilescount1 Files, %group Groups, size $bytes(%size1,g).suf To watch everything in AniDB it takes %year Year %weeks Weeks %days Days %hour Hour and %mins Minutes  | |||
   }    |    }    | ||
}  | }  | ||
</pre>  | </pre>  | ||
here i added a menu to show the AniDB stats and your own stats.   | here i added a menu to show the AniDB stats and your own stats.  | ||
might still have bugs or so :P  | |||
edits