https://wiki.anidb.net/wiki/api.php?action=feedcontributions&user=Lightdestroyer&feedformat=atomAniDB - User contributions [en]2024-03-29T14:55:53ZUser contributionsMediaWiki 1.40.0https://wiki.anidb.net/index.php?title=AniDB_O%27Matic_-_mIRC_script_for_statistics&diff=8665AniDB O'Matic - mIRC script for statistics2007-12-10T01:12:06Z<p>Lightdestroyer: </p>
<hr />
<div><pre><br />
# Made By AnimeNeko Thx to PetriW For this Option #<br />
# Enable statwhoring in aom #<br />
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #<br />
# You can use it in the ChatChannel and PM #<br />
<br />
menu channel,query {<br />
- <br />
AniDb Mystats: mystats<br />
}<br />
alias mystats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %username $readini(%aom.file, anidb, username)<br />
var %anidbepcount $readini(%aom.file, anidb, episodecount)<br />
var %animecount $readini(%aom.file, mylist, animecount)<br />
var %totaleps $readini(%aom.file, mylist, episodecount)<br />
var %Tfilescount $readini(%aom.file, mylist, filecount)<br />
var %fileswatched $readini(%aom.file, mylist, fileswatched)<br />
var %mylistsize $readini(%aom.file, mylist, size)<br />
var %epswatched $readini(%aom.file, mylist, episodeswatched)<br />
var %watchedsize $readini(%aom.file, mylist, watchedsize)<br />
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<br />
}<br />
}<br />
</pre><br />
<br />
Copy the text and put it in notepad or so and name it StatWhoreing.mrc or a othername.mrc then do /load -rs othername.mrc to load it. After you copy the file into your mirc dir.<br />
<br />
If you want your mylist size in GB. and not that it automatic converts to mb,gb,tb <br />
change $bytes(%mylistsize).suf into $bytes(%mylistsize,g).suf<br />
then it will only show the size of your mylist in GB's<br />
<br />
*Update/debug <br />
fixed a small calculating error in the stats part.<br />
<br />
edit: Adjusted the script for AOM 0.5.10+ and higher.<br />
Cleaned the code a little bit also Thx to light<br />
<br />
<pre><br />
# Made By AnimeNeko Thx to PetriW For this Option #<br />
# Enable statwhoring in aom Use version 0.5.10.x or higher #<br />
# v0.2 #<br />
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #<br />
# Works In chat Channel and in Private Message #<br />
# Note in the Partially Watched status if you have everything seen and none partially seen it #<br />
# will only show Partially seen . The script hides the types where you dont have anything #<br />
# partially seen in #<br />
<br />
<br />
menu channel,query {<br />
-<br />
AOM Stats<br />
.Mystats: mystats<br />
.Watched: watched<br />
.AnimeType<br />
..TV Series: AnimeTypetv<br />
..Specials: AnimeTypesp<br />
..Movies: AnimeTypem<br />
..Ova's: AnimeTypeova<br />
..Web: AnimeTypeweb<br />
..Other: AnimeTypeot<br />
..Unknown: AnimeTypeun<br />
.Storage: storage<br />
.AniDB Stats: anidbstats<br />
}<br />
<br />
alias Anidbstats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %animecountt $readini(%aom.file, anidb, animecount)<br />
var %totalepst $readini(%aom.file, anidb, episodecount)<br />
var %Tfilescountt $readini(%aom.file, anidb, filecount)<br />
var %group $readini(%aom.file, anidb, groupcount)<br />
var %sizet $readini(%aom.file, anidb, size)<br />
var %length $readini(%aom.file, anidb, length)<br />
var %tvtotal $readini(%aom.file, animetypeTVSeries, total)<br />
var %specialstotal $readini(%aom.file, animetypeTVSpecials, total)<br />
var %movietotal $readini(%aom.file, animetypeMovies, total)<br />
var %ovatotal $readini(%aom.file, animetypeOVAs, total)<br />
var %webtotal $readini(%aom.file, animetypeWeb, total)<br />
var %othertotal $readini(%aom.file, animetypeOther, total)<br />
var %unknowntotal $readini(%aom.file, animetypeUnknown, total)<br />
var %year $int($calc( (%length ) / (60*60*24*365) ))<br />
var %weeks $int($calc( (%length )/ ( 60*60*24*7) - (%year * 365/7) )) <br />
var %days $int($calc( (%length )/ (60*60*24) - (%year *365 ) - (%weeks *7) ))<br />
var %hour $int($calc( (%length ) / (60*60) - (%year *365*24) - (%weeks *7*24) - (%days *24) ))<br />
var %mins $int($calc( (%length ) / (60) - (%year *365*24*60) - (%weeks *7*24*60) - (%days *24*60) - (%hour *60)) )<br />
say Anidb Stats: %animecountt Animes( $+ %tvtotal Series, %specialstotal Specials, %movietotal Movies, %ovatotal OVAs, %webtotal Web, %othertotal Other, %unknowntotal Unknown $+ ), %totalepst Episodes, %Tfilescountt Files, %group Groups, size $bytes(%sizet,g).suf To watch it all it takes %year Year %weeks Weeks %days Days %hour Hour and %mins Minutes<br />
} <br />
}<br />
<br />
alias mystats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %username $readini(%aom.file, anidb, username)<br />
var %anidbepcount $readini(%aom.file, anidb, episodecount)<br />
var %animecount $readini(%aom.file, mylist, animecount)<br />
var %totaleps $readini(%aom.file, mylist, episodecount)<br />
var %Tfilescount $readini(%aom.file, mylist, filecount)<br />
var %mylistsize $readini(%aom.file, mylist, size)<br />
var %animewatched $readini(%aom.file, mylist, animewatched)<br />
var %animepartw $readini(%aom.file, mylist, animepartiallywatched)<br />
var %epswatched $readini(%aom.file, mylist, episodeswatched)<br />
var %fileswatched $readini(%aom.file, mylist, fileswatched)<br />
var %watchedsize $readini(%aom.file, mylist, watchedsize)<br />
var %tvmylist $readini(%aom.file, animetypeTVSeries, inmylist)<br />
var %specialsmylist $readini(%aom.file, animetypeTVSpecials, inmylist)<br />
var %moviemylist $readini(%aom.file, animetypeMovies, inmylist)<br />
var %ovamylist $readini(%aom.file, animetypeOVAs, inmylist)<br />
var %webmylist $readini(%aom.file, animetypeWeb, inmylist)<br />
var %othermylist $readini(%aom.file, animetypeOther, inmylist)<br />
var %unknownmylist $readini(%aom.file, animetypeUnknown, inmylist)<br />
say I have %animecount Animes( $+ $iif(%tvmylist = 0,,%tvmylist Series $+ $chr(44)) $iif(%specialsmylist = 0,,%specialsmylist Specials $+ $chr(44)) $iif(%moviemylist = 0,,%moviemylist Movies) $+ $iif(%ovamylist = 0,,$+ $chr(44) %ovamylist OVA's) $+ $iif(%webmylist = 0,,$+ $chr(44) %webmylist Web) $+ $iif(%othermylist = 0,,$+ $chr(44) %othermylist Other) $+ $iif(%unknownmylist = 0,,$+ $chr(44) %unknownmylist Unknown) $+ ), %totaleps Episodes, %Tfilescount files, Total $bytes(%mylistsize,g).suf $+ ( $+ $round($calc(%totaleps / %anidbepcount * 100 ),3) $+ % $+ ) of AniDB.<br />
}<br />
}<br />
<br />
alias watched {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %username $readini(%aom.file, anidb, username)<br />
var %anidbepcount $readini(%aom.file, anidb, episodecount)<br />
var %animecount $readini(%aom.file, mylist, animecount)<br />
var %totaleps $readini(%aom.file, mylist, episodecount)<br />
var %Tfilescount $readini(%aom.file, mylist, filecount)<br />
var %mylistsize $readini(%aom.file, mylist, size)<br />
var %animewatched $readini(%aom.file, mylist, animewatched)<br />
var %animepartw $readini(%aom.file, mylist, animepartiallywatched)<br />
var %epswatched $readini(%aom.file, mylist, episodeswatched)<br />
var %fileswatched $readini(%aom.file, mylist, fileswatched)<br />
var %watchedsize $readini(%aom.file, mylist, watchedsize)<br />
var %tvw $readini(%aom.file, animetypeTVSeries, allwatched)<br />
var %spw $readini(%aom.file, animetypeTVSpecials, allwatched)<br />
var %mw $readini(%aom.file, animetypeMovies, allwatched)<br />
var %ovaw $readini(%aom.file, animetypeOVAs, allwatched)<br />
var %webw $readini(%aom.file, animetypeWeb, allwatched)<br />
var %otw $readini(%aom.file, animetypeOther, allwatched)<br />
var %unw $readini(%aom.file, animetypeUnknown, allwatched)<br />
var %tvpw $readini(%aom.file, animetypeTVSeries, partwatched)<br />
var %sppw $readini(%aom.file, animetypeTVSpecials, partwatched)<br />
var %mpw $readini(%aom.file, animetypeMovies, partwatched)<br />
var %ovpw $readini(%aom.file, animetypeOVAs, partwatched)<br />
var %wpw $readini(%aom.file, animetypeWeb, partwatched)<br />
var %otpw $readini(%aom.file, animetypeOther, partwatched)<br />
var %unpw $readini(%aom.file, animetypeUnknown, partwatched)<br />
say i have seen $iif(%tvw = 0,,%tvw Series $+ $chr(44)) $iif(%spw = 0,,%spw Specials $+ $chr(44)) $iif(%mw = 0,,%mw Movies) $+ $iif(%ovaw = 0,,$+ $chr(44) %ovaw OVA's) $+ $iif(%webw = 0,,$+ $chr(44) %webw Web) $+ $iif(%otw = 0,,$+ $chr(44) %otw Other) $+ $iif(%unw = 0,,$+ $chr(44) %unw Unknown) $+ , Partially seen $iif(%tvpw = 0,,%tvpw Series $+ $chr(44)) $iif(%sppw = 0,,%sppw Specials $+ $chr(44)) $iif(%mpw = 0,,%mpw Movies) $+ $iif(%ovpw = 0,,$+ $chr(44) %ovpw OVA's) $+ $iif(%wpw = 0,,$+ $chr(44) %wpw Web) $+ $iif(%otpw = 0,,$+ $chr(44) %otpw Other) $+ $iif(%unpw = 0,,$+ $chr(44) %unpw Unknown) $+ . Total $calc(%animewatched + %animepartw) Animes, %epswatched Episodes( $+ $round($calc(%epswatched / %totaleps * 100 ),3) $+ % of Mylist), %Tfilescount Files, $bytes(%watchedsize,g).suf $+ , Which is $round($calc(%epswatched / %anidbepcount * 100 ),3) $+ % Of AniDB<br />
}<br />
}<br />
<br />
alias storage {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %StateUnknownc $readini(%aom.file, statusUnknown, count)<br />
var %StateUnknowns $readini(%aom.file, statusUnknown, size)<br />
var %StateUnknownw $readini(%aom.file, statusUnknown, watched)<br />
var %Statehddc $readini(%aom.file, statusOnHDD, count)<br />
var %Statehdds $readini(%aom.file, statusOnHDD, size)<br />
var %Statehddw $readini(%aom.file, statusOnHDD, watched)<br />
var %Statecdc $readini(%aom.file, statusOnCD, count)<br />
var %Statecds $readini(%aom.file, statusOnCD, size)<br />
var %Statecdw $readini(%aom.file, statusOnCD, watched)<br />
var %Statedelc $readini(%aom.file, statusDeleted, count)<br />
var %Statedels $readini(%aom.file, statusDeleted, size)<br />
var %Statedelw $readini(%aom.file, statusDeleted, watched)<br />
<br />
say State: Unknown: %StateUnknownc File's, $bytes(%StateUnknowns).suf $+ , Episodes Watched %StateUnknownw $+ , On HDD: %Statehddc File's, $bytes(%Statehdds).suf $+ , Episodes Watched %Statehddw $+ , On CD/DVD: %Statecdc File's, $bytes(%Statecds).suf $+ , Episodes Watched %Statecdw $+ , Deleted: %Statedelc File's, $bytes(%Statedels).suf $+ , Episodes Watched %Statedelw $+ .<br />
}<br />
}<br />
<br />
alias AnimeTypetv {<br />
AnimeTypeSay TVSeries animetypeTVSeries<br />
}<br />
<br />
alias AnimeTypesp {<br />
AnimeTypeSay TVSpecials animetypeTVSpecials <br />
}<br />
<br />
alias AnimeTypem {<br />
AnimeTypeSay Movies animetypeMovies<br />
}<br />
<br />
alias AnimeTypeova {<br />
AnimeTypeSay OVAs animetypeOVAs<br />
}<br />
<br />
alias AnimeTypeweb {<br />
AnimeTypeSay Web animetypeWeb<br />
}<br />
<br />
alias AnimeTypeot {<br />
AnimeTypeSay Other animetypeOther<br />
}<br />
<br />
alias AnimeTypeun {<br />
AnimeTypeSay Unknown animetypeUnknown<br />
}<br />
<br />
alias AnimeTypeSay {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) {<br />
var %total $readini(%aom.file, $$2 , total)<br />
var %m $readini(%aom.file, $$2 , inmylist)<br />
var %w1 $readini(%aom.file, $$2 , allwatched)<br />
var %pw1 $readini(%aom.file, $$2 , partwatched)<br />
say $$1: In AniDB: %total - In Mylist: %m - Watched: %w1 - Partially Watched: %pw1<br />
return 0<br />
}<br />
}<br />
<br />
<br />
</pre><br />
<br />
* v0.2 : fixed script so it will work with older mIRC versions<br />
<br />
<br />
here i added a menu to show the AniDB stats, your own stats, and the state of the files. like X files unknown on hdd on cd and deleted.<br />
might still have bugs or so :P<br />
<br />
[[Category:AniDB O'Matic]]<br />
[[Category:IRC]]</div>Lightdestroyerhttps://wiki.anidb.net/index.php?title=AniDB_O%27Matic_-_mIRC_script_for_statistics&diff=8664AniDB O'Matic - mIRC script for statistics2007-12-10T00:58:04Z<p>Lightdestroyer: older mIRC version support</p>
<hr />
<div><pre><br />
# Made By AnimeNeko Thx to PetriW For this Option #<br />
# Enable statwhoring in aom #<br />
# v0.2 #<br />
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #<br />
# You can use it in the ChatChannel and PM #<br />
<br />
menu channel,query {<br />
- <br />
AniDb Mystats: mystats<br />
}<br />
alias mystats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %username $readini(%aom.file, anidb, username)<br />
var %anidbepcount $readini(%aom.file, anidb, episodecount)<br />
var %animecount $readini(%aom.file, mylist, animecount)<br />
var %totaleps $readini(%aom.file, mylist, episodecount)<br />
var %Tfilescount $readini(%aom.file, mylist, filecount)<br />
var %fileswatched $readini(%aom.file, mylist, fileswatched)<br />
var %mylistsize $readini(%aom.file, mylist, size)<br />
var %epswatched $readini(%aom.file, mylist, episodeswatched)<br />
var %watchedsize $readini(%aom.file, mylist, watchedsize)<br />
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<br />
}<br />
}<br />
</pre><br />
<br />
Copy the text and put it in notepad or so and name it StatWhoreing.mrc or a othername.mrc then do /load -rs othername.mrc to load it. After you copy the file into your mirc dir.<br />
<br />
If you want your mylist size in GB. and not that it automatic converts to mb,gb,tb <br />
change $bytes(%mylistsize).suf into $bytes(%mylistsize,g).suf<br />
then it will only show the size of your mylist in GB's<br />
<br />
*Update/debug <br />
fixed a small calculating error in the stats part.<br />
<br />
edit: Adjusted the script for AOM 0.5.10+ and higher.<br />
Cleaned the code a little bit also Thx to light<br />
<br />
<pre><br />
# Made By AnimeNeko Thx to PetriW For this Option #<br />
# Enable statwhoring in aom Use version 0.5.10.x or higher #<br />
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #<br />
# Works In chat Channel and in Private Message #<br />
# Note in the Partially Watched status if you have everything seen and none partially seen it #<br />
# will only show Partially seen . The script hides the types where you dont have anything #<br />
# partially seen in #<br />
<br />
<br />
menu channel,query {<br />
-<br />
AOM Stats<br />
.Mystats: mystats<br />
.Watched: watched<br />
.AnimeType<br />
..TV Series: AnimeTypetv<br />
..Specials: AnimeTypesp<br />
..Movies: AnimeTypem<br />
..Ova's: AnimeTypeova<br />
..Web: AnimeTypeweb<br />
..Other: AnimeTypeot<br />
..Unknown: AnimeTypeun<br />
.Storage: storage<br />
.AniDB Stats: anidbstats<br />
}<br />
<br />
alias Anidbstats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %animecountt $readini(%aom.file, anidb, animecount)<br />
var %totalepst $readini(%aom.file, anidb, episodecount)<br />
var %Tfilescountt $readini(%aom.file, anidb, filecount)<br />
var %group $readini(%aom.file, anidb, groupcount)<br />
var %sizet $readini(%aom.file, anidb, size)<br />
var %length $readini(%aom.file, anidb, length)<br />
var %tvtotal $readini(%aom.file, animetypeTVSeries, total)<br />
var %specialstotal $readini(%aom.file, animetypeTVSpecials, total)<br />
var %movietotal $readini(%aom.file, animetypeMovies, total)<br />
var %ovatotal $readini(%aom.file, animetypeOVAs, total)<br />
var %webtotal $readini(%aom.file, animetypeWeb, total)<br />
var %othertotal $readini(%aom.file, animetypeOther, total)<br />
var %unknowntotal $readini(%aom.file, animetypeUnknown, total)<br />
var %year $int($calc( (%length ) / (60*60*24*365) ))<br />
var %weeks $int($calc( (%length )/ ( 60*60*24*7) - (%year * 365/7) )) <br />
var %days $int($calc( (%length )/ (60*60*24) - (%year *365 ) - (%weeks *7) ))<br />
var %hour $int($calc( (%length ) / (60*60) - (%year *365*24) - (%weeks *7*24) - (%days *24) ))<br />
var %mins $int($calc( (%length ) / (60) - (%year *365*24*60) - (%weeks *7*24*60) - (%days *24*60) - (%hour *60)) )<br />
say Anidb Stats: %animecountt Animes( $+ %tvtotal Series, %specialstotal Specials, %movietotal Movies, %ovatotal OVAs, %webtotal Web, %othertotal Other, %unknowntotal Unknown $+ ), %totalepst Episodes, %Tfilescountt Files, %group Groups, size $bytes(%sizet,g).suf To watch it all it takes %year Year %weeks Weeks %days Days %hour Hour and %mins Minutes<br />
} <br />
}<br />
<br />
alias mystats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %username $readini(%aom.file, anidb, username)<br />
var %anidbepcount $readini(%aom.file, anidb, episodecount)<br />
var %animecount $readini(%aom.file, mylist, animecount)<br />
var %totaleps $readini(%aom.file, mylist, episodecount)<br />
var %Tfilescount $readini(%aom.file, mylist, filecount)<br />
var %mylistsize $readini(%aom.file, mylist, size)<br />
var %animewatched $readini(%aom.file, mylist, animewatched)<br />
var %animepartw $readini(%aom.file, mylist, animepartiallywatched)<br />
var %epswatched $readini(%aom.file, mylist, episodeswatched)<br />
var %fileswatched $readini(%aom.file, mylist, fileswatched)<br />
var %watchedsize $readini(%aom.file, mylist, watchedsize)<br />
var %tvmylist $readini(%aom.file, animetypeTVSeries, inmylist)<br />
var %specialsmylist $readini(%aom.file, animetypeTVSpecials, inmylist)<br />
var %moviemylist $readini(%aom.file, animetypeMovies, inmylist)<br />
var %ovamylist $readini(%aom.file, animetypeOVAs, inmylist)<br />
var %webmylist $readini(%aom.file, animetypeWeb, inmylist)<br />
var %othermylist $readini(%aom.file, animetypeOther, inmylist)<br />
var %unknownmylist $readini(%aom.file, animetypeUnknown, inmylist)<br />
say I have %animecount Animes( $+ $iif(%tvmylist = 0,,%tvmylist Series $+ $chr(44)) $iif(%specialsmylist = 0,,%specialsmylist Specials $+ $chr(44)) $iif(%moviemylist = 0,,%moviemylist Movies) $+ $iif(%ovamylist = 0,,$+ $chr(44) %ovamylist OVA's) $+ $iif(%webmylist = 0,,$+ $chr(44) %webmylist Web) $+ $iif(%othermylist = 0,,$+ $chr(44) %othermylist Other) $+ $iif(%unknownmylist = 0,,$+ $chr(44) %unknownmylist Unknown) $+ ), %totaleps Episodes, %Tfilescount files, Total $bytes(%mylistsize,g).suf $+ ( $+ $round($calc(%totaleps / %anidbepcount * 100 ),3) $+ % $+ ) of AniDB.<br />
}<br />
}<br />
<br />
alias watched {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %username $readini(%aom.file, anidb, username)<br />
var %anidbepcount $readini(%aom.file, anidb, episodecount)<br />
var %animecount $readini(%aom.file, mylist, animecount)<br />
var %totaleps $readini(%aom.file, mylist, episodecount)<br />
var %Tfilescount $readini(%aom.file, mylist, filecount)<br />
var %mylistsize $readini(%aom.file, mylist, size)<br />
var %animewatched $readini(%aom.file, mylist, animewatched)<br />
var %animepartw $readini(%aom.file, mylist, animepartiallywatched)<br />
var %epswatched $readini(%aom.file, mylist, episodeswatched)<br />
var %fileswatched $readini(%aom.file, mylist, fileswatched)<br />
var %watchedsize $readini(%aom.file, mylist, watchedsize)<br />
var %tvw $readini(%aom.file, animetypeTVSeries, allwatched)<br />
var %spw $readini(%aom.file, animetypeTVSpecials, allwatched)<br />
var %mw $readini(%aom.file, animetypeMovies, allwatched)<br />
var %ovaw $readini(%aom.file, animetypeOVAs, allwatched)<br />
var %webw $readini(%aom.file, animetypeWeb, allwatched)<br />
var %otw $readini(%aom.file, animetypeOther, allwatched)<br />
var %unw $readini(%aom.file, animetypeUnknown, allwatched)<br />
var %tvpw $readini(%aom.file, animetypeTVSeries, partwatched)<br />
var %sppw $readini(%aom.file, animetypeTVSpecials, partwatched)<br />
var %mpw $readini(%aom.file, animetypeMovies, partwatched)<br />
var %ovpw $readini(%aom.file, animetypeOVAs, partwatched)<br />
var %wpw $readini(%aom.file, animetypeWeb, partwatched)<br />
var %otpw $readini(%aom.file, animetypeOther, partwatched)<br />
var %unpw $readini(%aom.file, animetypeUnknown, partwatched)<br />
say i have seen $iif(%tvw = 0,,%tvw Series $+ $chr(44)) $iif(%spw = 0,,%spw Specials $+ $chr(44)) $iif(%mw = 0,,%mw Movies) $+ $iif(%ovaw = 0,,$+ $chr(44) %ovaw OVA's) $+ $iif(%webw = 0,,$+ $chr(44) %webw Web) $+ $iif(%otw = 0,,$+ $chr(44) %otw Other) $+ $iif(%unw = 0,,$+ $chr(44) %unw Unknown) $+ , Partially seen $iif(%tvpw = 0,,%tvpw Series $+ $chr(44)) $iif(%sppw = 0,,%sppw Specials $+ $chr(44)) $iif(%mpw = 0,,%mpw Movies) $+ $iif(%ovpw = 0,,$+ $chr(44) %ovpw OVA's) $+ $iif(%wpw = 0,,$+ $chr(44) %wpw Web) $+ $iif(%otpw = 0,,$+ $chr(44) %otpw Other) $+ $iif(%unpw = 0,,$+ $chr(44) %unpw Unknown) $+ . Total $calc(%animewatched + %animepartw) Animes, %epswatched Episodes( $+ $round($calc(%epswatched / %totaleps * 100 ),3) $+ % of Mylist), %Tfilescount Files, $bytes(%watchedsize,g).suf $+ , Which is $round($calc(%epswatched / %anidbepcount * 100 ),3) $+ % Of AniDB<br />
}<br />
}<br />
<br />
alias storage {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %StateUnknownc $readini(%aom.file, statusUnknown, count)<br />
var %StateUnknowns $readini(%aom.file, statusUnknown, size)<br />
var %StateUnknownw $readini(%aom.file, statusUnknown, watched)<br />
var %Statehddc $readini(%aom.file, statusOnHDD, count)<br />
var %Statehdds $readini(%aom.file, statusOnHDD, size)<br />
var %Statehddw $readini(%aom.file, statusOnHDD, watched)<br />
var %Statecdc $readini(%aom.file, statusOnCD, count)<br />
var %Statecds $readini(%aom.file, statusOnCD, size)<br />
var %Statecdw $readini(%aom.file, statusOnCD, watched)<br />
var %Statedelc $readini(%aom.file, statusDeleted, count)<br />
var %Statedels $readini(%aom.file, statusDeleted, size)<br />
var %Statedelw $readini(%aom.file, statusDeleted, watched)<br />
<br />
say State: Unknown: %StateUnknownc File's, $bytes(%StateUnknowns).suf $+ , Episodes Watched %StateUnknownw $+ , On HDD: %Statehddc File's, $bytes(%Statehdds).suf $+ , Episodes Watched %Statehddw $+ , On CD/DVD: %Statecdc File's, $bytes(%Statecds).suf $+ , Episodes Watched %Statecdw $+ , Deleted: %Statedelc File's, $bytes(%Statedels).suf $+ , Episodes Watched %Statedelw $+ .<br />
}<br />
}<br />
<br />
alias AnimeTypetv {<br />
AnimeTypeSay TVSeries animetypeTVSeries<br />
}<br />
<br />
alias AnimeTypesp {<br />
AnimeTypeSay TVSpecials animetypeTVSpecials <br />
}<br />
<br />
alias AnimeTypem {<br />
AnimeTypeSay Movies animetypeMovies<br />
}<br />
<br />
alias AnimeTypeova {<br />
AnimeTypeSay OVAs animetypeOVAs<br />
}<br />
<br />
alias AnimeTypeweb {<br />
AnimeTypeSay Web animetypeWeb<br />
}<br />
<br />
alias AnimeTypeot {<br />
AnimeTypeSay Other animetypeOther<br />
}<br />
<br />
alias AnimeTypeun {<br />
AnimeTypeSay Unknown animetypeUnknown<br />
}<br />
<br />
alias AnimeTypeSay {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) {<br />
var %total $readini(%aom.file, $$2 , total)<br />
var %m $readini(%aom.file, $$2 , inmylist)<br />
var %w1 $readini(%aom.file, $$2 , allwatched)<br />
var %pw1 $readini(%aom.file, $$2 , partwatched)<br />
say $$1: In AniDB: %total - In Mylist: %m - Watched: %w1 - Partially Watched: %pw1<br />
return 0<br />
}<br />
}<br />
<br />
<br />
</pre><br />
<br />
* v0.2 : fixed script so it will work with older mIRC versions<br />
<br />
<br />
here i added a menu to show the AniDB stats, your own stats, and the state of the files. like X files unknown on hdd on cd and deleted.<br />
might still have bugs or so :P<br />
<br />
[[Category:AniDB O'Matic]]<br />
[[Category:IRC]]</div>Lightdestroyerhttps://wiki.anidb.net/index.php?title=AniDB_Clients&diff=8663AniDB Clients2007-12-09T23:30:16Z<p>Lightdestroyer: corrected the irc link (name was already corrected)</p>
<hr />
<div>{{TOCright}}<br />
<br />
AniDB offers two APIs for client programms. One full, TCP based API which is not public and one limited, UDP based public API. Clients for the full API are somewhat like an offline version of AniDB. Clients for the limited API are using a much simpler interface and only have access to a limited subset of AniDB.<br />
<br />
== Full Clients ==<br />
<br />
=== [[AOM|Anidb-O-Matic]] ===<br />
<br />
'''Author:''' [[user:BennieB|BenniB]] and [[User:PetriW|PetriW]]<br />
<br />
'''OS:''' MS Windows NT4/2000/XP/2003/Vista<br />
<br />
'''Main Features:'''<br />
:* auto adds local files to your mylist<br />
:* allows (offline) browsing of anidb data<br />
:* shell integration<br />
'''Current Version:'''<br />
:* [http://petriw.com/aom/AOM_0.5.11.256.zip Anidb-O-Matic V0.5.11.256 (09.12.2007)]<br />
<br />
'''More Info:'''<br />
:* [[AniDB O'Matic|Anidb-O-Matic Website]]<br />
:* [http://forum.anidb.net/viewforum.php?f=20 AniDB.net - Forum Thread]<br />
:* [irc://irc.synirc.org/aom #aom @ irc.synirc.org]<br />
<br />
'''Screenshots'''<br />
<gallery><br />
image:Aom-main.png|Main<br />
image:Aom-anime.png|Animelist<br />
image:Aom-add_file.png|Add Files<br />
image:Aom-known_files.png|Known Files<br />
</gallery><br />
<br />
== Limited Clients ==<br />
<br />
See also all [[UDP Clients]] that have been developed/planned.<br />
<br />
=== [[WebAOM]] ===<br />
<br />
{{:WebAOM/Header}}<br />
<br />
[[Category: Anidb Clients]]</div>Lightdestroyerhttps://wiki.anidb.net/index.php?title=AniDB_O%27Matic_-_mIRC_script_for_statistics&diff=7007AniDB O'Matic - mIRC script for statistics2007-01-31T23:44:42Z<p>Lightdestroyer: </p>
<hr />
<div><pre><br />
# Made By AnimeNeko Thx to PetriW For this Option #<br />
# Enable statwhoring in aom #<br />
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #<br />
# You can use it in the ChatChannel and PM #<br />
<br />
menu channel,query {<br />
- <br />
AniDb Mystats: mystats<br />
}<br />
alias mystats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %username $readini(%aom.file, anidb, username)<br />
var %anidbepcount $readini(%aom.file, anidb, episodecount)<br />
var %animecount $readini(%aom.file, mylist, animecount)<br />
var %totaleps $readini(%aom.file, mylist, episodecount)<br />
var %Tfilescount $readini(%aom.file, mylist, filecount)<br />
var %fileswatched $readini(%aom.file, mylist, fileswatched)<br />
var %mylistsize $readini(%aom.file, mylist, size)<br />
var %epswatched $readini(%aom.file, mylist, episodeswatched)<br />
var %watchedsize $readini(%aom.file, mylist, watchedsize)<br />
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<br />
}<br />
}<br />
</pre><br />
<br />
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.<br />
<br />
If you want your mylist size in GB. and not that it automatic converts to mb,gb,tb <br />
change $bytes(%mylistsize).suf into $bytes(%mylistsize,g).suf<br />
then it will only show the size of your mylist in GB's<br />
<br />
*Update/debug <br />
fixed a small calculating error in the stats part.<br />
<br />
<pre><br />
# Made By AnimeNeko Thx to PetriW For this Option #<br />
# Enable statwhoring in aom #<br />
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #<br />
# Works In chat Channel and in Private Message #<br />
<br />
menu channel,query {<br />
-<br />
AOM Stats<br />
.Mystats: mystats<br />
.AniDB Stats: anidbstats<br />
.Storage: storage<br />
}<br />
<br />
alias mystats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %username $readini(%aom.file, anidb, username)<br />
var %anidbepcount $readini(%aom.file, anidb, episodecount)<br />
var %animecount $readini(%aom.file, mylist, animecount)<br />
var %totaleps $readini(%aom.file, mylist, episodecount)<br />
var %Tfilescount $readini(%aom.file, mylist, filecount)<br />
var %fileswatched $readini(%aom.file, mylist, fileswatched)<br />
var %mylistsize $readini(%aom.file, mylist, size)<br />
var %epswatched $readini(%aom.file, mylist, episodeswatched)<br />
var %watchedsize $readini(%aom.file, mylist, watchedsize)<br />
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<br />
}<br />
}<br />
<br />
alias Anidbstats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %animecount1 $readini(%aom.file, anidb, animecount)<br />
var %totaleps1 $readini(%aom.file, anidb, episodecount)<br />
var %Tfilescount1 $readini(%aom.file, anidb, filecount)<br />
var %size1 $readini(%aom.file, anidb, size)<br />
var %group $readini(%aom.file, anidb, groupcount)<br />
var %length $readini(%aom.file, anidb ,length)<br />
var %year $int($calc( (%length ) / (60*60*24*365) ))<br />
var %weeks $int($calc( (%length )/ ( 60*60*24*7) - (%year *365/7 ) )) <br />
var %days $int($calc( (%length )/ (60*60*24) - (%year *365 ) - (%weeks *7) ))<br />
var %hour $int($calc( (%length ) / (60*60) - (%year *365*24) - (%weeks *7*24) - (%days *24) ))<br />
var %mins $int($calc( (%length ) / (60) - (%year *365*24*60) - (%weeks *7*24*60) - (%days *24*60) - (%hour *60)) )<br />
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<br />
} <br />
}<br />
<br />
alias storage {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %StateUnknownc $readini(%aom.file, statusUnknown, count)<br />
var %StateUnknowns $readini(%aom.file, statusUnknown, size)<br />
var %Statehddc $readini(%aom.file, statusOnHDD, count)<br />
var %Statehdds $readini(%aom.file, statusOnHDD, size)<br />
var %Statecdc $readini(%aom.file, statusOnCD, count)<br />
var %Statecds $readini(%aom.file, statusOnCD, size)<br />
var %Statedelc $readini(%aom.file, statusDeleted, count)<br />
var %Statedels $readini(%aom.file, statusDeleted, size)<br />
say State: Unknown: %StateUnknownc File's, $bytes(%StateUnknowns).suf $+ , On HDD: %Statehddc File's, $bytes(%Statehdds).suf $+ , On CD/DVD: %Statecdc File's, $bytes(%Statecds).suf $+ , Deleted: %Statedelc File's, $bytes(%Statedels).suf<br />
}<br />
}<br />
<br />
</pre><br />
here i added a menu to show the AniDB stats, your own stats, and the state of the files. like X files unknown on hdd on cd and deleted.<br />
might still have bugs or so :P</div>Lightdestroyerhttps://wiki.anidb.net/index.php?title=AniDB_O%27Matic_-_mIRC_script_for_statistics&diff=7006AniDB O'Matic - mIRC script for statistics2007-01-31T23:35:49Z<p>Lightdestroyer: </p>
<hr />
<div><pre><br />
# Made By AnimeNeko Thx to PetriW For this Option #<br />
# Enable statwhoring in aom #<br />
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #<br />
# You can use it in the ChatChannel and PM #<br />
<br />
menu channel,query {<br />
- <br />
AniDb Mystats: mystats<br />
}<br />
alias mystats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %username $readini(%aom.file, anidb, username)<br />
var %anidbepcount $readini(%aom.file, anidb, episodecount)<br />
var %animecount $readini(%aom.file, mylist, animecount)<br />
var %totaleps $readini(%aom.file, mylist, episodecount)<br />
var %Tfilescount $readini(%aom.file, mylist, filecount)<br />
var %fileswatched $readini(%aom.file, mylist, fileswatched)<br />
var %mylistsize $readini(%aom.file, mylist, size)<br />
var %epswatched $readini(%aom.file, mylist, episodeswatched)<br />
var %watchedsize $readini(%aom.file, mylist, watchedsize)<br />
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<br />
}<br />
}<br />
</pre><br />
<br />
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.<br />
<br />
If you want your mylist size in GB. and not that it automatic converts to mb,gb,tb <br />
change $bytes(%mylistsize).suf into $bytes(%mylistsize,g).suf<br />
then it will only show the size of your mylist in GB's<br />
<br />
*Update/debug <br />
Like some people may already have noticed the alias Anidbstats did give some wrong output,<br />
this was caused by the wrong assumption that a year consists of 52 weeks (its 52.142857... weeks).<br />
That's now corrected, anyone who still sees a bug please report it !!<br />
<br />
<pre><br />
# Made By AnimeNeko Thx to PetriW For this Option #<br />
# Enable statwhoring in aom #<br />
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #<br />
# Works In chat Channel and in Private Message #<br />
<br />
menu channel,query {<br />
-<br />
AOM Stats<br />
.Mystats: mystats<br />
.AniDB Stats: anidbstats<br />
.Storage: storage<br />
}<br />
<br />
alias mystats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %username $readini(%aom.file, anidb, username)<br />
var %anidbepcount $readini(%aom.file, anidb, episodecount)<br />
var %animecount $readini(%aom.file, mylist, animecount)<br />
var %totaleps $readini(%aom.file, mylist, episodecount)<br />
var %Tfilescount $readini(%aom.file, mylist, filecount)<br />
var %fileswatched $readini(%aom.file, mylist, fileswatched)<br />
var %mylistsize $readini(%aom.file, mylist, size)<br />
var %epswatched $readini(%aom.file, mylist, episodeswatched)<br />
var %watchedsize $readini(%aom.file, mylist, watchedsize)<br />
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<br />
}<br />
}<br />
<br />
alias Anidbstats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %animecount1 $readini(%aom.file, anidb, animecount)<br />
var %totaleps1 $readini(%aom.file, anidb, episodecount)<br />
var %Tfilescount1 $readini(%aom.file, anidb, filecount)<br />
var %size1 $readini(%aom.file, anidb, size)<br />
var %group $readini(%aom.file, anidb, groupcount)<br />
var %length $readini(%aom.file, anidb ,length)<br />
var %year $int($calc( (%length ) / (60*60*24*365) ))<br />
var %weeks $int($calc( (%length )/ ( 60*60*24*7) - (%year *365/7 ) )) <br />
var %days $int($calc( (%length )/ (60*60*24) - (%year *365 ) - (%weeks *7) ))<br />
var %hour $int($calc( (%length ) / (60*60) - (%year *365*24) - (%weeks *7*24) - (%days *24) ))<br />
var %mins $int($calc( (%length ) / (60) - (%year *365*24*60) - (%weeks *7*24*60) - (%days *24*60) - (%hour *60)) )<br />
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<br />
} <br />
}<br />
<br />
alias storage {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %StateUnknownc $readini(%aom.file, statusUnknown, count)<br />
var %StateUnknowns $readini(%aom.file, statusUnknown, size)<br />
var %Statehddc $readini(%aom.file, statusOnHDD, count)<br />
var %Statehdds $readini(%aom.file, statusOnHDD, size)<br />
var %Statecdc $readini(%aom.file, statusOnCD, count)<br />
var %Statecds $readini(%aom.file, statusOnCD, size)<br />
var %Statedelc $readini(%aom.file, statusDeleted, count)<br />
var %Statedels $readini(%aom.file, statusDeleted, size)<br />
say State: Unknown: %StateUnknownc File's, $bytes(%StateUnknowns).suf $+ , On HDD: %Statehddc File's, $bytes(%Statehdds).suf $+ , On CD/DVD: %Statecdc File's, $bytes(%Statecds).suf $+ , Deleted: %Statedelc File's, $bytes(%Statedels).suf<br />
}<br />
}<br />
<br />
</pre><br />
here i added a menu to show the AniDB stats, your own stats, and the state of the files. like X files unknown on hdd on cd and deleted.<br />
might still have bugs or so :P</div>Lightdestroyerhttps://wiki.anidb.net/index.php?title=AniDB_O%27Matic_-_mIRC_script_for_statistics&diff=7005AniDB O'Matic - mIRC script for statistics2007-01-31T23:31:19Z<p>Lightdestroyer: </p>
<hr />
<div><pre><br />
# Made By AnimeNeko Thx to PetriW For this Option #<br />
# Enable statwhoring in aom #<br />
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #<br />
# You can use it in the ChatChannel and PM #<br />
<br />
menu channel,query {<br />
- <br />
AniDb Mystats: mystats<br />
}<br />
alias mystats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %username $readini(%aom.file, anidb, username)<br />
var %anidbepcount $readini(%aom.file, anidb, episodecount)<br />
var %animecount $readini(%aom.file, mylist, animecount)<br />
var %totaleps $readini(%aom.file, mylist, episodecount)<br />
var %Tfilescount $readini(%aom.file, mylist, filecount)<br />
var %fileswatched $readini(%aom.file, mylist, fileswatched)<br />
var %mylistsize $readini(%aom.file, mylist, size)<br />
var %epswatched $readini(%aom.file, mylist, episodeswatched)<br />
var %watchedsize $readini(%aom.file, mylist, watchedsize)<br />
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<br />
}<br />
}<br />
</pre><br />
<br />
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.<br />
<br />
If you want your mylist size in GB. and not that it automatic converts to mb,gb,tb <br />
change $bytes(%mylistsize).suf into $bytes(%mylistsize,g).suf<br />
then it will only show the size of your mylist in GB's<br />
<br />
*Update/debug <br />
Like some people may already have noticed the alias Anidbstats did give some wrong output,<br />
this was caused by the wrong assumption that a year consist of 52 weeks (its 52.142857... weeks).<br />
That's now corrected, anyone who still sees a bug please report it !!<br />
<br />
<pre><br />
# Made By AnimeNeko Thx to PetriW For this Option #<br />
# Enable statwhoring in aom #<br />
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #<br />
# Works In chat Channel and in Private Message #<br />
<br />
menu channel,query {<br />
-<br />
AOM Stats<br />
.Mystats: mystats<br />
.AniDB Stats: anidbstats<br />
.Storage: storage<br />
}<br />
<br />
alias mystats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %username $readini(%aom.file, anidb, username)<br />
var %anidbepcount $readini(%aom.file, anidb, episodecount)<br />
var %animecount $readini(%aom.file, mylist, animecount)<br />
var %totaleps $readini(%aom.file, mylist, episodecount)<br />
var %Tfilescount $readini(%aom.file, mylist, filecount)<br />
var %fileswatched $readini(%aom.file, mylist, fileswatched)<br />
var %mylistsize $readini(%aom.file, mylist, size)<br />
var %epswatched $readini(%aom.file, mylist, episodeswatched)<br />
var %watchedsize $readini(%aom.file, mylist, watchedsize)<br />
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<br />
}<br />
}<br />
<br />
alias Anidbstats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %animecount1 $readini(%aom.file, anidb, animecount)<br />
var %totaleps1 $readini(%aom.file, anidb, episodecount)<br />
var %Tfilescount1 $readini(%aom.file, anidb, filecount)<br />
var %size1 $readini(%aom.file, anidb, size)<br />
var %group $readini(%aom.file, anidb, groupcount)<br />
var %length $readini(%aom.file, anidb ,length)<br />
var %year $int($calc( (%length ) / (60*60*24*365) ))<br />
var %weeks $int($calc( (%length )/ ( 60*60*24*7) - (%year *365/7 ) )) <br />
var %days $int($calc( (%length )/ (60*60*24) - (%year *365 ) - (%weeks *7) ))<br />
var %hour $int($calc( (%length ) / (60*60) - (%year *365*24) - (%weeks *7*24) - (%days *24) ))<br />
var %mins $int($calc( (%length ) / (60) - (%year *365*24*60) - (%weeks *7*24*60) - (%days *24*60) - (%hour *60)) )<br />
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<br />
} <br />
}<br />
<br />
alias storage {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %StateUnknownc $readini(%aom.file, statusUnknown, count)<br />
var %StateUnknowns $readini(%aom.file, statusUnknown, size)<br />
var %Statehddc $readini(%aom.file, statusOnHDD, count)<br />
var %Statehdds $readini(%aom.file, statusOnHDD, size)<br />
var %Statecdc $readini(%aom.file, statusOnCD, count)<br />
var %Statecds $readini(%aom.file, statusOnCD, size)<br />
var %Statedelc $readini(%aom.file, statusDeleted, count)<br />
var %Statedels $readini(%aom.file, statusDeleted, size)<br />
say State: Unknown: %StateUnknownc File's, $bytes(%StateUnknowns).suf $+ , On HDD: %Statehddc File's, $bytes(%Statehdds).suf $+ , On CD/DVD: %Statecdc File's, $bytes(%Statecds).suf $+ , Deleted: %Statedelc File's, $bytes(%Statedels).suf<br />
}<br />
}<br />
<br />
</pre><br />
here i added a menu to show the AniDB stats, your own stats, and the state of the files. like X files unknown on hdd on cd and deleted.<br />
might still have bugs or so :P</div>Lightdestroyerhttps://wiki.anidb.net/index.php?title=AniDB_O%27Matic_-_mIRC_script_for_statistics&diff=7004AniDB O'Matic - mIRC script for statistics2007-01-31T23:04:42Z<p>Lightdestroyer: </p>
<hr />
<div><pre><br />
# Made By AnimeNeko Thx to PetriW For this Option #<br />
# Enable statwhoring in aom #<br />
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #<br />
# You can use it in the ChatChannel and PM #<br />
<br />
menu channel,query {<br />
- <br />
AniDb Mystats: mystats<br />
}<br />
alias mystats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %username $readini(%aom.file, anidb, username)<br />
var %anidbepcount $readini(%aom.file, anidb, episodecount)<br />
var %animecount $readini(%aom.file, mylist, animecount)<br />
var %totaleps $readini(%aom.file, mylist, episodecount)<br />
var %Tfilescount $readini(%aom.file, mylist, filecount)<br />
var %fileswatched $readini(%aom.file, mylist, fileswatched)<br />
var %mylistsize $readini(%aom.file, mylist, size)<br />
var %epswatched $readini(%aom.file, mylist, episodeswatched)<br />
var %watchedsize $readini(%aom.file, mylist, watchedsize)<br />
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<br />
}<br />
}<br />
</pre><br />
<br />
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.<br />
<br />
If you want your mylist size in GB. and not that it automatic converts to mb,gb,tb <br />
change $bytes(%mylistsize).suf into $bytes(%mylistsize,g).suf<br />
then it will only show the size of your mylist in GB's<br />
<br />
<pre><br />
# Made By AnimeNeko Thx to PetriW For this Option #<br />
# Enable statwhoring in aom #<br />
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI in aom. #<br />
# Works In chat Channel and in Private Message #<br />
<br />
menu channel,query {<br />
-<br />
AOM Stats<br />
.Mystats: mystats<br />
.AniDB Stats: anidbstats<br />
.Storage: storage<br />
}<br />
<br />
alias mystats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %username $readini(%aom.file, anidb, username)<br />
var %anidbepcount $readini(%aom.file, anidb, episodecount)<br />
var %animecount $readini(%aom.file, mylist, animecount)<br />
var %totaleps $readini(%aom.file, mylist, episodecount)<br />
var %Tfilescount $readini(%aom.file, mylist, filecount)<br />
var %fileswatched $readini(%aom.file, mylist, fileswatched)<br />
var %mylistsize $readini(%aom.file, mylist, size)<br />
var %epswatched $readini(%aom.file, mylist, episodeswatched)<br />
var %watchedsize $readini(%aom.file, mylist, watchedsize)<br />
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<br />
}<br />
}<br />
<br />
alias Anidbstats {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %animecount1 $readini(%aom.file, anidb, animecount)<br />
var %totaleps1 $readini(%aom.file, anidb, episodecount)<br />
var %Tfilescount1 $readini(%aom.file, anidb, filecount)<br />
var %size1 $readini(%aom.file, anidb, size)<br />
var %group $readini(%aom.file, anidb, groupcount)<br />
var %length $readini(%aom.file, anidb ,length)<br />
var %year $int($calc( (%length ) / (60*60*24*365) ))<br />
var %weeks $int($calc( (%length )/ ( 60*60*24*7) - (%year *365/7 ) )) <br />
var %days $int($calc( (%length )/ (60*60*24) - (%year *365 ) - (%weeks *7) ))<br />
var %hour $int($calc( (%length ) / (60*60) - (%year *365*24) - (%weeks *7*24) - (%days *24) ))<br />
var %mins $int($calc( (%length ) / (60) - (%year *365*24*60) - (%weeks *7*24*60) - (%days *24*60) - (%hour *60)) )<br />
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<br />
} <br />
}<br />
<br />
alias storage {<br />
var %aom.file e:\aom\MyStats.ini<br />
if ($exists(%aom.file)) { <br />
var %StateUnknownc $readini(%aom.file, statusUnknown, count)<br />
var %StateUnknowns $readini(%aom.file, statusUnknown, size)<br />
var %Statehddc $readini(%aom.file, statusOnHDD, count)<br />
var %Statehdds $readini(%aom.file, statusOnHDD, size)<br />
var %Statecdc $readini(%aom.file, statusOnCD, count)<br />
var %Statecds $readini(%aom.file, statusOnCD, size)<br />
var %Statedelc $readini(%aom.file, statusDeleted, count)<br />
var %Statedels $readini(%aom.file, statusDeleted, size)<br />
say State: Unknown: %StateUnknownc File's, $bytes(%StateUnknowns).suf $+ , On HDD: %Statehddc File's, $bytes(%Statehdds).suf $+ , On CD/DVD: %Statecdc File's, $bytes(%Statecds).suf $+ , Deleted: %Statedelc File's, $bytes(%Statedels).suf<br />
}<br />
}<br />
<br />
</pre><br />
here i added a menu to show the AniDB stats, your own stats, and the state of the files. like X files unknown on hdd on cd and deleted.<br />
might still have bugs or so :P</div>Lightdestroyer