AniDB O'Matic - mIRC script for statistics: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
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 %nick has %animecount Animes, %totaleps Episodes, %Tfilescount files, $bytes(%mylistsize,g).suf ( $+ $round($calc(%totaleps / %anidbepcount * 100 ),3) $+ % $+ ) | say %nick has %animecount Animes, %totaleps Episodes, %Tfilescount files, Total $bytes(%mylistsize,g).suf $+ ( $+ $round($calc(%totaleps / %anidbepcount * 100 ),3) $+ % $+ ) of AniDB, %nick 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 33: | Line 33: | ||
change $bytes(%mylistsize).suf into $bytes(%mylistsize,g).suf | change $bytes(%mylistsize).suf into $bytes(%mylistsize,g).suf | ||
then it will only show the size of your mylist in GB's | then it will only show the size of your mylist in GB's | ||
<pre> | |||
# Made By AnimeNeko Thx to PetriW For this Option # | |||
# Enable statwhoring 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 # | |||
menu channel,query { | |||
- | |||
AOM Stats | |||
.Mystats: mystats | |||
.AniDB Stats: anidbstats | |||
} | |||
alias mystats { | |||
var %aom.file e:\aom\MyStats.ini | |||
var %nick MWizard | |||
if ($exists(%aom.file)) { | |||
var %anidbepcount $readini(%aom.file, anidb, episodecount) | |||
var %animecount $readini(%aom.file, mylist, animecount) | |||
var %totaleps $readini(%aom.file, mylist, episodecount) | |||
var %Tfilescount $readini(%aom.file, mylist, filecount) | |||
var %fileswatched $readini(%aom.file, mylist, fileswatched) | |||
var %mylistsize $readini(%aom.file, mylist, size) | |||
var %epswatched $readini(%aom.file, mylist, episodeswatched) | |||
var %watchedsize $readini(%aom.file, mylist, watchedsize) | |||
say %nick has %animecount Animes, %totaleps Episodes, %Tfilescount files, Total $bytes(%mylistsize,g).suf $+ ( $+ $round($calc(%totaleps / %anidbepcount * 100 ),3) $+ % $+ ) of AniDB, %nick 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 | |||
} | |||
} | |||
alias Anidbstats { | |||
var %aom.file e:\aom\MyStats.ini | |||
if ($exists(%aom.file)) { | |||
var %animecount1 $readini(%aom.file, anidb, animecount) | |||
var %totaleps1 $readini(%aom.file, anidb, episodecount) | |||
var %Tfilescount1 $readini(%aom.file, anidb, filecount) | |||
var %size1 $readini(%aom.file, anidb, size) | |||
var %group $readini(%aom.file, anidb, groupcount) | |||
var %length1 $readini(%aom.file, anidb, length) | |||
say Anidb Stats: %animecount1 Animes, %totaleps1 Episodes, %Tfilescount1 Files, %group Groups, size $bytes(%size1,g).suf | |||
} | |||
} | |||
</pre> | |||
here i added a menu to show the AniDB stats and your own stats. Might Try to add the total AniDB time it later :) |
Revision as of 23:51, 8 January 2007
# Made By AnimeNeko Thx to PetriW For this Option # # Enable statwhoring 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 # # You can use it in the ChatChannel and PM # menu channel,query { - AniDb Mystats: mystats } alias mystats { var %aom.file e:\aom\MyStats.ini var %nick MWizard if ($exists(%aom.file)) { var %anidbepcount $readini(%aom.file, anidb, episodecount) var %animecount $readini(%aom.file, mylist, animecount) var %totaleps $readini(%aom.file, mylist, episodecount) var %Tfilescount $readini(%aom.file, mylist, filecount) var %fileswatched $readini(%aom.file, mylist, fileswatched) var %mylistsize $readini(%aom.file, mylist, size) var %epswatched $readini(%aom.file, mylist, episodeswatched) var %watchedsize $readini(%aom.file, mylist, watchedsize) say %nick has %animecount Animes, %totaleps Episodes, %Tfilescount files, Total $bytes(%mylistsize,g).suf $+ ( $+ $round($calc(%totaleps / %anidbepcount * 100 ),3) $+ % $+ ) of AniDB, %nick 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 } }
Copy the text and put it in notepad or so and name it StatWhoreing.mrc or a othername.mrc then do /load -rs othername.mirc to load it. After you copy the file into your mirc dir.
If you want your mylist size in GB. and not that it automatic converts to mb,gb,tb change $bytes(%mylistsize).suf into $bytes(%mylistsize,g).suf then it will only show the size of your mylist in GB's
# Made By AnimeNeko Thx to PetriW For this Option # # Enable statwhoring 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 # menu channel,query { - AOM Stats .Mystats: mystats .AniDB Stats: anidbstats } alias mystats { var %aom.file e:\aom\MyStats.ini var %nick MWizard if ($exists(%aom.file)) { var %anidbepcount $readini(%aom.file, anidb, episodecount) var %animecount $readini(%aom.file, mylist, animecount) var %totaleps $readini(%aom.file, mylist, episodecount) var %Tfilescount $readini(%aom.file, mylist, filecount) var %fileswatched $readini(%aom.file, mylist, fileswatched) var %mylistsize $readini(%aom.file, mylist, size) var %epswatched $readini(%aom.file, mylist, episodeswatched) var %watchedsize $readini(%aom.file, mylist, watchedsize) say %nick has %animecount Animes, %totaleps Episodes, %Tfilescount files, Total $bytes(%mylistsize,g).suf $+ ( $+ $round($calc(%totaleps / %anidbepcount * 100 ),3) $+ % $+ ) of AniDB, %nick 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 } } alias Anidbstats { var %aom.file e:\aom\MyStats.ini if ($exists(%aom.file)) { var %animecount1 $readini(%aom.file, anidb, animecount) var %totaleps1 $readini(%aom.file, anidb, episodecount) var %Tfilescount1 $readini(%aom.file, anidb, filecount) var %size1 $readini(%aom.file, anidb, size) var %group $readini(%aom.file, anidb, groupcount) var %length1 $readini(%aom.file, anidb, length) say Anidb Stats: %animecount1 Animes, %totaleps1 Episodes, %Tfilescount1 Files, %group Groups, size $bytes(%size1,g).suf } }
here i added a menu to show the AniDB stats and your own stats. Might Try to add the total AniDB time it later :)