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

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 9: Line 9:
}
}


on *:TEXT:*:#:{  
alias updatemystats {
   if ($exists(e:\aom\MyStats.ini)) { set %aom.file e:\aom\MyStats.ini } {  
   if ($exists(e:\aom\MyStats.ini)) { set %aom.file e:\aom\MyStats.ini } {  
     set %anidbepcount $readini(%aom.file, anidb, episodecount)
     set %anidbepcount $readini(%aom.file, anidb, episodecount)
Line 18: Line 18:
     set %epswatched $readini(%aom.file, mylist, episodeswatched)
     set %epswatched $readini(%aom.file, mylist, episodeswatched)
   }
   }
}


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:20, 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: /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)
 }

}

on *:START:.timer 0 5 updatemystats

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