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

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 36: Line 36:


edit: Adjusted the script for AOM 0.5.10+ and higher.
edit: Adjusted the script for AOM 0.5.10+ and higher.
      Cleaned the code a little bit also Thx to light


<pre>
<pre>
Line 167: Line 168:


alias AnimeTypetv {
alias AnimeTypetv {
   var %aom.file e:\aom\MyStats.ini
   AnimeTypeSay TVSeries animetypeTVSeries
  if ($exists(%aom.file)) {
    var %tvt $readini(%aom.file, animetypeTVSeries, total)
    var %tvm $readini(%aom.file, animetypeTVSeries, inmylist)
    var %tvw1 $readini(%aom.file, animetypeTVSeries, allwatched)
    var %tvpw1 $readini(%aom.file, animetypeTVSeries, partwatched)
    say TV Series: In AniDB: %tvt In Mylist: %tvm Watched: %tvw1 Partially Watched: %tvpw1
  }
}
}


alias AnimeTypesp {
alias AnimeTypesp {
   var %aom.file e:\aom\MyStats.ini
   AnimeTypeSay TVSpecials animetypeTVSpecials
  if ($exists(%aom.file)) {
    var %spt $readini(%aom.file, animetypeTVSpecials, total)
    var %spm $readini(%aom.file, animetypeTVSpecials, inmylist)
    var %spw1 $readini(%aom.file, animetypeTVSpecials, allwatched)
    var %sppw1 $readini(%aom.file, animetypeTVSpecials, partwatched)
    say Specials: In AniDB: %spt - In Mylist: %spm - Watched: %spw1 - Partially Watched: %sppw1
  }
}
}


alias AnimeTypem {
alias AnimeTypem {
   var %aom.file e:\aom\MyStats.ini
   AnimeTypeSay Movies animetypeMovies
  if ($exists(%aom.file)) {
    var %mt $readini(%aom.file, animetypeMovies, total)
    var %mm $readini(%aom.file, animetypeMovies, inmylist)
    var %mw1 $readini(%aom.file, animetypeMovies, allwatched)
    var %mpw1 $readini(%aom.file, animetypeMovies, partwatched)
    say Movies: In AniDB: %mt - In Mylist: %mm - Watched: %mw1 - Partially Watched: %mpw1
  }
}
}


alias AnimeTypeova {
alias AnimeTypeova {
   var %aom.file e:\aom\MyStats.ini
   AnimeTypeSay OVAs animetypeOVAs
  if ($exists(%aom.file)) {
    var %ot $readini(%aom.file, animetypeOVAs, total)
    var %om $readini(%aom.file, animetypeOVAs, inmylist)
    var %ovaw1 $readini(%aom.file, animetypeOVAs, allwatched)
    var %ovpw1 $readini(%aom.file, animetypeOVAs, partwatched)
    say OVAs: In AniDB: %ot - In Mylist: %om - Watched: %ovaw1 - Partially Watched: %ovpw1
  }
}
}


alias AnimeTypeweb {
alias AnimeTypeweb {
   var %aom.file e:\aom\MyStats.ini
   AnimeTypeSay Web animetypeWeb
  if ($exists(%aom.file)) {
    var %wt $readini(%aom.file, animetypeWeb, total)
    var %wm $readini(%aom.file, animetypeWeb, inmylist)
    var %webw1 $readini(%aom.file, animetypeWeb, allwatched)
    var %wpw1 $readini(%aom.file, animetypeWeb, partwatched)
    say Web: In AniDB: %wt - In Mylist: %wm - Watched: %webw1 - Partially Watched: %wpw1
  }
}
}


alias AnimeTypeot {
alias AnimeTypeot {
   var %aom.file e:\aom\MyStats.ini
   AnimeTypeSay Other animetypeOther
  if ($exists(%aom.file)) {
    var %ott $readini(%aom.file, animetypeOther, total)
    var %otm $readini(%aom.file, animetypeOther, inmylist)
    var %otw1 $readini(%aom.file, animetypeOther, allwatched)
    var %otpw1 $readini(%aom.file, animetypeOther, partwatched)
    say Other: In AniDB: %ott - In Mylist: %otm - Watched: %otw1 - Partially Watched: %otpw1
  }
}
}


alias AnimeTypeun {
alias AnimeTypeun {
  AnimeTypeSay Unknown animetypeUnknown
}
alias AnimeTypeSay {
   var %aom.file e:\aom\MyStats.ini
   var %aom.file e:\aom\MyStats.ini
   if ($exists(%aom.file)) {
   if ($exists(%aom.file)) {
     var %unt $readini(%aom.file, animetypeUnknown, total)
     var %animetypeUnknown $$2
     var %unm $readini(%aom.file, animetypeUnknown, inmylist)
    var %total $readini(%aom.file, %animetypeUnknown, total)
     var %unw1 $readini(%aom.file, animetypeUnknown, allwatched)
     var %m $readini(%aom.file, %animetypeUnknown, inmylist)
     var %unpw1 $readini(%aom.file, animetypeUnknown, partwatched)
     var %w1 $readini(%aom.file, %animetypeUnknown, allwatched)
     say Unknown: In AniDB: %unt - In Mylist: %unm - Watched: %unw1 - Partially Watched: %unpw1
     var %pw1 $readini(%aom.file, %animetypeUnknown, partwatched)
     say $$1: In AniDB: %total - In Mylist: %m - Watched: %w1 - Partially Watched: %pw1
    return 0
   }
   }
}
}
20

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.