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

From AniDB
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 6: Line 6:
menu channel {
menu channel {
   -   
   -   
   AniDb Mystats: /msg $chan MYSTATS: mwizard - %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)
   AniDb Mystats: updatemystats | /msg $chan MYSTATS: mwizard - %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)
}
}


Line 19: Line 19:
   }
   }
}
}
on *:START:.timer 0 5 updatemystats


save the file as statwhoring.mrc or something like that :)
save the file as statwhoring.mrc or something like that :)

Revision as of 00:25, 7 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 

menu channel {

 -  
 AniDb Mystats: updatemystats | /msg $chan MYSTATS: mwizard - %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)

}

alias updatemystats {

 if ($exists(e:\aom\MyStats.ini)) { set %aom.file e:\aom\MyStats.ini } { 
   set %anidbepcount $readini(%aom.file, anidb, episodecount)
   set %animecount $readini(%aom.file, mylist, animecount)
   set %totaleps $readini(%aom.file, mylist, episodecount)
   set %Tfilescount $readini(%aom.file, mylist, filecount)
   set %mylistsize $readini(%aom.file, mylist, size)
   set %epswatched $readini(%aom.file, mylist, episodeswatched)
 }

}

save the file as statwhoring.mrc or something like that :)