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

m
no edit summary
mNo edit summary
mNo edit summary
Line 39: Line 39:
# Replace e:\aom\MyStats.ini to the correct Directory and filename. But choose INI 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                #
#            Replace mwizard als with your own name or remove it up to you                #
#                      Works In chat Channel and in Private Message                        #


menu channel,query {
menu channel,query {
Line 45: Line 46:
   .Mystats: mystats
   .Mystats: mystats
   .AniDB Stats: anidbstats
   .AniDB Stats: anidbstats
  .Storage: storage
}
}


Line 80: Line 82:
   }  
   }  
}
}
alias storage {
  var %aom.file e:\aom\MyStats.ini
  if ($exists(%aom.file)) {
    var %StateUnknownc $readini(%aom.file, statusUnknown, count)
    var %StateUnknowns $readini(%aom.file, statusUnknown, size)
    var %Statehddc $readini(%aom.file, statusOnHDD, count)
    var %Statehdds $readini(%aom.file, statusOnHDD, size)
    var %Statecdc $readini(%aom.file, statusOnCD, count)
    var %Statecds $readini(%aom.file, statusOnCD, size)
    var %Statedelc $readini(%aom.file, statusDeleted, count)
    var %Statedels $readini(%aom.file, statusDeleted, size)
    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
  }
}
</pre>
</pre>
here i added a menu to show the AniDB stats and your own stats.
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.
might still have bugs or so :P
might still have bugs or so :P
20

edits

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